[mutter] display: Add forgotten meta_display_cancel_touch
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] display: Add forgotten meta_display_cancel_touch
- Date: Wed, 23 Jul 2014 22:38:39 +0000 (UTC)
commit 6c22759d298db4e88f8fbba79d802b7153b20961
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jul 22 02:07:19 2014 +0200
display: Add forgotten meta_display_cancel_touch
src/core/display.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 6804032..d9550ad 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -462,6 +462,18 @@ meta_set_gnome_wm_keybindings (const char *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,
MetaSequenceState state,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]