bugfix(x11): crash when querying xsettings prop fails

Don't crash when xsettings query fails with _present_ xsettings.

Closes: https://github.com/rust-windowing/winit/issues/3573
This commit is contained in:
Kirill Chibisov
2024-03-07 22:14:33 +04:00
committed by John Nunley
parent 563b0bf5e3
commit 359a38844b
5 changed files with 43 additions and 16 deletions

View File

@@ -51,6 +51,7 @@ Unreleased` header.
- **Breaking:** Removed `EventLoopBuilder::with_user_event`, the functionality is now available in `EventLoop::with_user_event`.
- Add `Window::default_attributes` to get default `WindowAttributes`.
- `log` has been replaced with `tracing`. The old behavior can be emulated by setting the `log` feature on the `tracing` crate.
- On X11, fix crash due to xsettings query on systems with incomplete xsettings.
# 0.29.14