From 6c22759d298db4e88f8fbba79d802b7153b20961 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 22 Jul 2014 02:07:19 +0200 Subject: [PATCH] display: Add forgotten meta_display_cancel_touch --- src/core/display.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/core/display.c b/src/core/display.c index 68040321c..d9550ade0 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -461,6 +461,18 @@ meta_set_gnome_wm_keybindings (const char *wm_keybindings) gnome_wm_keybindings = wm_keybindings; } +static void +meta_display_cancel_touch (MetaDisplay *display) +{ + MetaWaylandCompositor *compositor; + + if (!meta_is_wayland_compositor ()) + return; + + compositor = meta_wayland_compositor_get_default (); + meta_wayland_touch_cancel (&compositor->seat->touch); +} + static void gesture_tracker_state_changed (MetaGestureTracker *tracker, ClutterEventSequence *sequence,