wayland/surface: Check for surface role in meta_wayland_surface_get_window()
The function can get called without valid surface role, e.g. from
zwp_xwayland_keyboard_grab_manager_grab()
.
Debugged by @piegamesde
Fixes #1147 (closed)
The function can get called without valid surface role, e.g. from
zwp_xwayland_keyboard_grab_manager_grab()
.
Debugged by @piegamesde
Fixes #1147 (closed)