wayland: ignore events for dead objects
Nothing wrong will happen if we ignore events when compositor is at wrong, at least crashing because compositor is just _wrong_ probably is not a great option. Links: https://github.com/alacritty/alacritty/issues/8065
This commit is contained in:
parent
75ce71f05a
commit
1170554dbd
5 changed files with 105 additions and 44 deletions
|
|
@ -76,3 +76,7 @@ changelog entry.
|
|||
|
||||
This feature was incomplete, and the equivalent functionality can be trivially achieved outside
|
||||
of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- On Wayland, avoid crashing when compositor is misbehaving.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue