[Wayland-bugs] [Bug 735831] Change current cursor on grabs

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 1 10:31:49 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735831
  gtk+ | Backend: Wayland | unspecified

--- Comment #1 from Carlos Garnacho <carlosg at gnome.org> 2014-09-01 17:31:45 UTC ---
Created an attachment (id=285042)
 View: https://bugzilla.gnome.org/attachment.cgi?id=285042
 Review: https://bugzilla.gnome.org/review?bug=735831&attachment=285042

wayland: Keep the last cursor on leave, try to restore it on enter

On DnD, pointer_handle_leave may be triggered without the pointer actually
leaving the window, and pointer_handle_enter() happening after intra-window
DnD won't actually manage to update the cursor (it does nothing directly,
and to the upper layers the cursor is still the same and consistent, so no
attempt will happen).

To fix this, keep the pointer cursor on leave, and ensure it is updated
on enter. The pointer cursor will be updated to any current new one through
the enter/motion events generated if it needs be.

-- 
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