mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
gtkgesture: Add touchpad gesture event bit to the controller evmask
This commit is contained in:
parent
8e5be43e02
commit
e55b3c6501
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user