wayland/fix: crash due consequent calls to set_cursor_grab
Only mark that the grab was applied when it actually got applied. Previously there was an issue with grab being marked as applied without a pointer over the window, when in reality it wasn't. Fixes #4073.
This commit is contained in:
parent
ecc884ac91
commit
6c214e71ae
2 changed files with 28 additions and 10 deletions
|
|
@ -249,3 +249,4 @@ changelog entry.
|
|||
- On macos, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game`
|
||||
- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode
|
||||
- On macOS, fixed `run_app_on_demand` returning without closing open windows.
|
||||
- On Wayland, fixed a crash when consequently calling `set_cursor_grab` without pointer focus.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue