[Wayland-bugs] [Bug 760213] wayland: gdk_seat_grab() set cursor not resilient

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 7 19:07:49 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760213

Matthias Clasen <mclasen at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #318320|none                        |reviewed
             status|                            |

--- Comment #2 from Matthias Clasen <mclasen at redhat.com> ---
Review of attachment 318320:

::: gdk/wayland/gdkdevice-wayland.c
@@ +2561,2 @@
       wayland_seat->pointer_grab_window = NULL;
+      _gdk_display_set_window_under_pointer (display,
wayland_seat->master_pointer, window);

Calling set_window_under_pointer here seems wrong - the window may not be under
the pointer at all at this point. And as Carlos points out, this should already
be happening in switch_to_pointer_grab.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160108/94e914bf/attachment.html>


More information about the wayland-bugs mailing list