mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
On wayland, fix with_title() not setting the windows title (#770)
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
- On Wayland, fix `with_title()` not setting the windows title
|
||||||
- On Wayland, add `set_wayland_theme()` to control client decoration color theme
|
- On Wayland, add `set_wayland_theme()` to control client decoration color theme
|
||||||
- Added serde serialization to `os::unix::XWindowType`.
|
- Added serde serialization to `os::unix::XWindowType`.
|
||||||
- **Breaking:** `image` crate upgraded to 0.21. This is exposed as part of the `icon_loading` API.
|
- **Breaking:** `image` crate upgraded to 0.21. This is exposed as part of the `icon_loading` API.
|
||||||
|
|||||||
@@ -81,6 +81,8 @@ impl Window {
|
|||||||
frame.set_app_id(app_id);
|
frame.set_app_id(app_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
frame.set_title(attributes.title);
|
||||||
|
|
||||||
for &(_, ref seat) in evlp.seats.lock().unwrap().iter() {
|
for &(_, ref seat) in evlp.seats.lock().unwrap().iter() {
|
||||||
frame.new_seat(seat);
|
frame.new_seat(seat);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user