[gtk+/wip/garnacho/touchpad-gestures: 102/105] gtkgesture: Add touchpad gesture event bit to the controller evmask
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/garnacho/touchpad-gestures: 102/105] gtkgesture: Add touchpad gesture event bit to the controller evmask
- Date: Mon, 3 Aug 2015 17:04:33 +0000 (UTC)
commit 4694e88237e4a29168b26ccea77653cbd7df4c52
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jul 9 19:35:12 2015 +0200
gtkgesture: Add touchpad gesture event bit to the controller evmask
gtk/gtkgesture.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index 5fc909e..03733a3 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -998,7 +998,8 @@ gtk_gesture_init (GtkGesture *gesture)
priv->points = g_hash_table_new_full (NULL, NULL, NULL,
(GDestroyNotify) g_free);
gtk_event_controller_set_event_mask (GTK_EVENT_CONTROLLER (gesture),
- GDK_TOUCH_MASK);
+ GDK_TOUCH_MASK |
+ GDK_TOUCHPAD_GESTURE_MASK);
priv->group_link = g_list_prepend (NULL, gesture);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]