pointer: Make sure to update the focus after ending a grab

Otherwise, we might not reset it after the grab has ended.
This commit is contained in:
Jasper St. Pierre 2014-10-06 16:19:19 -07:00
parent 607730e96c
commit a127d05790

View File

@ -565,6 +565,8 @@ meta_wayland_pointer_end_grab (MetaWaylandPointer *pointer)
pointer->grab = &pointer->default_grab;
interface = pointer->grab->interface;
interface->focus (pointer->grab, pointer->current);
meta_wayland_pointer_update_cursor_surface (pointer);
}
typedef struct {