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:
Conrad Irwin 2024-06-12 10:27:40 -06:00 committed by GitHub
parent 2fd00a8f35
commit 1b28f93c64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 57 additions and 21 deletions

View file

@ -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"))]