diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-12-22 17:41:09 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-12-22 18:27:37 +0100 |
commit | abe0024f3c9cde008648b63aa3e0fd59f926625a (patch) | |
tree | 7308562d80f07174213e69e7ee2a4c023acb19eb | |
parent | 79c18605c213fb699aabfafe524ae44f7a5cd74f (diff) | |
download | mutter-abe0024f3c9cde008648b63aa3e0fd59f926625a.tar.gz |
wayland: Avoid repick_for_event() call
We can also tell the stage to emit crossing events, which will be
handled in place (i.e. not queued), and yield the same result.
-rw-r--r-- | src/wayland/meta-wayland-pointer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 9828090be..e1683f575 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -1029,9 +1029,7 @@ meta_wayland_pointer_repick (MetaWaylandPointer *pointer) point, CLUTTER_CURRENT_TIME, new_actor, - FALSE); - - repick_for_event (pointer, NULL); + TRUE); } void |