diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-02-05 17:03:46 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-02-05 17:03:46 +0100 |
commit | 84a8837b22c653755128a0fd40e693a8b1737e97 (patch) | |
tree | 6fb8a736452972ca1ed5f6b48ba105af9afd0f9b | |
parent | 851e77383ea764b793914696b29b4e6d95632ebb (diff) | |
download | alacritty-84a8837b22c653755128a0fd40e693a8b1737e97.tar.gz alacritty-84a8837b22c653755128a0fd40e693a8b1737e97.zip |
Set window title on Wayland
Fixes #1582.
Fixes #1875.
-rw-r--r-- | src/window.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/window.rs b/src/window.rs index 0f401528..370ed83c 100644 --- a/src/window.rs +++ b/src/window.rs @@ -272,7 +272,11 @@ impl Window { )] fn platform_builder_ext(window_builder: WindowBuilder, wm_class: &str) -> WindowBuilder { use glutin::os::unix::WindowBuilderExt; - window_builder.with_class(wm_class.to_owned(), "Alacritty".to_owned()) + window_builder + // X11 + .with_class(wm_class.to_owned(), "Alacritty".to_owned()) + // Wayland + .with_app_id("Alacritty".to_owned()) } #[cfg( |