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:
Kirill Chibisov
2024-07-05 13:09:23 +03:00
parent feca480b4c
commit ec24c3efd3
5 changed files with 105 additions and 44 deletions

View File

@@ -39,3 +39,7 @@ The migration guide could reference other migration examples in the current
changelog entry.
## Unreleased
### Fixed
- On Wayland, avoid crashing when compositor is misbehaving.