Skip to content

wayland: Clean up xwayland grabs even if surface is gone

Olivier Fourdan requested to merge ofourdan/mutter:issue255 into master

If the surface is gone before meta_xwayland_keyboard_grab_end() is called, we would bail out early leaving a empty grab, which will later 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: #255 (closed)

Merge request reports

Loading