forked from AuroraMiddleware/gtk
gtkgesturerotate: Don't filter hold events
Part-of: <!3454>
This commit is contained in:
parent
a99a75827c
commit
34133ec1e8
@ -172,8 +172,9 @@ static gboolean
|
||||
gtk_gesture_rotate_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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user