On wayland, fix with_title() not setting the windows title (#770)

This commit is contained in:
trimental
2019-02-22 22:30:59 +08:00
committed by Osspial
parent 7be1d16263
commit f0ce5b0c8d
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# Unreleased
- On Wayland, fix `with_title()` not setting the windows title
- On Wayland, add `set_wayland_theme()` to control client decoration color theme
- Added serde serialization to `os::unix::XWindowType`.
- **Breaking:** `image` crate upgraded to 0.21. This is exposed as part of the `icon_loading` API.

View File

@@ -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);
}