Make notification windows not have titles on X11 (#12935)
Co-Authored-By: Max <max@zed.dev> Release Notes: - N/A Co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
2fd00a8f35
commit
1b28f93c64
3 changed files with 57 additions and 21 deletions
|
@ -303,9 +303,11 @@ fn main() {
|
|||
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
if crate::zed::listen_for_cli_connections(open_listener.clone()).is_err() {
|
||||
println!("zed is already running");
|
||||
return;
|
||||
if env::var("ZED_STATELESS").is_err() {
|
||||
if crate::zed::listen_for_cli_connections(open_listener.clone()).is_err() {
|
||||
println!("zed is already running");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue