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:
parent
607730e96c
commit
a127d05790
@ -565,6 +565,8 @@ meta_wayland_pointer_end_grab (MetaWaylandPointer *pointer)
|
|||||||
pointer->grab = &pointer->default_grab;
|
pointer->grab = &pointer->default_grab;
|
||||||
interface = pointer->grab->interface;
|
interface = pointer->grab->interface;
|
||||||
interface->focus (pointer->grab, pointer->current);
|
interface->focus (pointer->grab, pointer->current);
|
||||||
|
|
||||||
|
meta_wayland_pointer_update_cursor_surface (pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user