1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Set window title on Wayland

Fixes #1582.
Fixes #1875.
This commit is contained in:
Christian Duerr 2019-02-05 17:03:46 +01:00
parent 851e77383e
commit 84a8837b22
No known key found for this signature in database
GPG key ID: 85CDAE3C164BA7B4

View file

@ -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(