[gtk+] wayland: Clear tablet tool cursor on proximity out



commit 8f33385d620bb81f436d83a60d1d835885cc6cee
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jul 25 15:44:30 2017 +0200

    wayland: Clear tablet tool cursor on proximity out
    
    This ensures that the tablet tool will get the cursor updated even if it
    happens to fall within the same window again on the next proximity in.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785375

 gdk/wayland/gdkdevice-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 03282ae..011fe30 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -3632,6 +3632,7 @@ tablet_tool_handle_proximity_out (void                      *data,
   tablet->pointer_info.focus = NULL;
 
   gdk_device_update_tool (tablet->current_device, NULL);
+  g_clear_object (&tablet->pointer_info.cursor);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]