projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18eeaf7
)
wayland: Clear tablet tool cursor on proximity out
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 25 Jul 2017 13:44:30 +0000
(15:44 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 25 Jul 2017 16:36:12 +0000
(18:36 +0200)
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
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index f3bf2b4064ae8da81d99bd4091dd92843c75a096..739572e190ddd9cc09a08e34740a5aeea01a8676 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-3631,6
+3631,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