From 4124ecf0678941ef2d8926a7dcfdf70b54b52bb1 Mon Sep 17 00:00:00 2001 From: Lucas Timmins Date: Fri, 25 Jan 2019 14:09:57 +0800 Subject: [PATCH] On wayland, fix `with_title()` not setting the windows title --- CHANGELOG.md | 1 + src/platform/linux/wayland/window.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13371a47f9..a69be29255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Unreleased +- On Wayland, fix `with_title()` not setting the windows title - Added serde serialization to `os::unix::XWindowType`. - **Breaking:** `image` crate upgraded to 0.21. This is exposed as part of the `icon_loading` API. diff --git a/src/platform/linux/wayland/window.rs b/src/platform/linux/wayland/window.rs index 62a74bef9b..49e9969fdd 100644 --- a/src/platform/linux/wayland/window.rs +++ b/src/platform/linux/wayland/window.rs @@ -81,6 +81,8 @@ impl Window { frame.set_app_id(app_id); } + frame.set_title(attributes.title); + for &(_, ref seat) in evlp.seats.lock().unwrap().iter() { frame.new_seat(seat); }