gtkgesturezoom: Don't filter hold events
Part-of: <!3454>
This commit is contained in:
committed by
Carlos Garnacho
parent
3bfcc12ec0
commit
a99a75827c
@@ -149,8 +149,9 @@ static gboolean
|
||||
gtk_gesture_zoom_filter_event (GtkEventController *controller,
|
||||
GdkEvent *event)
|
||||
{
|
||||
/* Let 2-finger touchpad pinch events go through */
|
||||
if (gdk_event_get_event_type (event) == GDK_TOUCHPAD_PINCH)
|
||||
/* Let 2-finger touchpad pinch and hold events go through */
|
||||
if (gdk_event_get_event_type (event) == GDK_TOUCHPAD_PINCH ||
|
||||
gdk_event_get_event_type (event) == GDK_TOUCHPAD_HOLD)
|
||||
{
|
||||
guint n_fingers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user