mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 14:20:05 -04:00
Fix no primary monitor panic in XWayland (#318)
* Fix no primary monitor panic in XWayland In this case try to use the first existing monitor instead of panicking. Fixes #317 * Shift no monitor panic to x11::get_primary_monitor * Update changelog with xll get_primary_monitor fallback
This commit is contained in:
committed by
Victor Berger
parent
36058ab8e6
commit
b3c5ee6219
@@ -13,6 +13,7 @@
|
||||
`EnumDisplayDevices`. This changes the value returned by `MonitorId::get_name()`.
|
||||
- On Windows added `MonitorIdExt::hmonitor` method
|
||||
- Impl `Clone` for `EventsLoopProxy`
|
||||
- `EventsLoop::get_primary_monitor()` on X11 will fallback to any available monitor if no primary is found
|
||||
|
||||
# Version 0.8.3 (2017-10-11)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user