From 84a8837b22c653755128a0fd40e693a8b1737e97 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 5 Feb 2019 17:03:46 +0100 Subject: [PATCH] Set window title on Wayland Fixes #1582. Fixes #1875. --- src/window.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(