mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
Olivier Fourdan
71cfb52ece
wayland: Clean up xwayland grabs even if surface is gone
If the surface is gone before `meta_xwayland_keyboard_grab_end()` is called, we would bail out early leaving an empty grab, which will cause a segfault as soon as a key is pressed later on. Make sure we clean up the keyboard grab even if the surface is gone. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/255 (cherry picked from commit 252dd524390dcdbdd89534c0014d22a796957f55)
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%