[Wayland-bugs] [Bug 695512] wayland backend ignores cursor hotspot
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Mar 20 18:50:23 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=695512
gtk+ | wayland | unspecified
--- Comment #2 from Matthias Clasen <mclasen at redhat.com> 2013-03-21 01:50:21 UTC ---
Created an attachment (id=239431)
View: https://bugzilla.gnome.org/attachment.cgi?id=239431
Review: https://bugzilla.gnome.org/review?bug=695512&attachment=239431
wayland: Keep hotspot when changing cursors
We need to pass the delta between the old and new hotspot
when attaching the new cursor surface, to keep the hotspot
at the same position. We can't deal with this in the compositor,
since the set_cursor call already overwrites the old hotspot,
so the information is lost by the time the attach happens.
Unfortunately, we can't query the initial hotspot from
the compositor, so the first cursor change will make the
hotspot jump.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list