[Wayland-bugs] [Bug 785375] Cursors for Wacom tablets are not always updated correctly under Wayland
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 25 16:36:31 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785375
--- Comment #6 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 356370
--> https://bugzilla.gnome.org/attachment.cgi?id=356370&action=edit
gtklinkbutton: Set cursor on button's event window
Setting the cursor on the widget window (i.e. the parent widget's) is
finicky because the cursor needs to be updated on crossing events, and
will yield the wrong result for other master devices that happen to be
in other areas of the same parent widget's window.
Just set it always on the event window created by the GtkButton parent
class. That window was causing the crossing events, so the rectangle
that gets the hand cursor set will be the same size, and we don't need
to track pointer crossing state that way.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170725/2fae13be/attachment.html>
More information about the wayland-bugs
mailing list