summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-tablet-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland/meta-wayland-tablet-tool.c')
-rw-r--r--src/wayland/meta-wayland-tablet-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland-tablet-tool.c b/src/wayland/meta-wayland-tablet-tool.c
index f20d44859..5e2505b1a 100644
--- a/src/wayland/meta-wayland-tablet-tool.c
+++ b/src/wayland/meta-wayland-tablet-tool.c
@@ -914,6 +914,7 @@ meta_wayland_tablet_tool_update (MetaWaylandTabletTool *tool,
break;
case CLUTTER_PROXIMITY_OUT:
tool->current_tablet = NULL;
+ meta_wayland_tablet_tool_set_cursor_surface (tool, NULL);
meta_wayland_tablet_tool_update_cursor_surface (tool);
g_clear_object (&tool->cursor_renderer);
break;