display: Add forgotten meta_display_cancel_touch

This commit is contained in:
Carlos Garnacho 2014-07-22 02:07:19 +02:00 committed by Jasper St. Pierre
parent 25b6a40ad4
commit 6c22759d29

View File

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