pointer: Repick after the focused surface is destroyed
Having a null focus is incorrect -- we want to pick the surface that's under the new pointer position.
This commit is contained in:
parent
a127d05790
commit
e496ed50d6
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ pointer_handle_focus_surface_destroy (struct wl_listener *listener, void *data)
|
|||
{
|
||||
MetaWaylandPointer *pointer = wl_container_of (listener, pointer, focus_surface_listener);
|
||||
|
||||
meta_wayland_pointer_set_focus (pointer, NULL);
|
||||
meta_wayland_pointer_repick (pointer);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue