wayland: Always send focus() when starting a pointer grab
Even if the focus is NULL, we may want the current grab focus code to be run. https://bugzilla.gnome.org/show_bug.cgi?id=762104
This commit is contained in:
parent
9b39325244
commit
82153ff23f
@ -863,8 +863,7 @@ meta_wayland_pointer_start_grab (MetaWaylandPointer *pointer,
|
|||||||
interface = pointer->grab->interface;
|
interface = pointer->grab->interface;
|
||||||
grab->pointer = pointer;
|
grab->pointer = pointer;
|
||||||
|
|
||||||
if (pointer->current)
|
interface->focus (pointer->grab, pointer->current);
|
||||||
interface->focus (pointer->grab, pointer->current);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user