mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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;
|
||||
interface = pointer->grab->interface;
|
||||
interface->focus (pointer->grab, pointer->current);
|
||||
|
||||
meta_wayland_pointer_update_cursor_surface (pointer);
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user