widget: Cancel also denied sequences

It makes no sense to skip denied sequences here, the gestures are
still carrying out the accounting for these, which must be also put
to an end if we're possibly not receiving any further events from
this sequence.

https://bugzilla.gnome.org/show_bug.cgi?id=754098
This commit is contained in:
Carlos Garnacho 2015-09-16 12:08:46 +02:00
parent 3aaf730901
commit 63e255e7b5

View File

@ -4294,9 +4294,6 @@ _gtk_widget_cancel_sequence (GtkWidget *widget,
!gtk_gesture_handles_sequence (gesture, seq)) !gtk_gesture_handles_sequence (gesture, seq))
seq = NULL; seq = NULL;
if (!gtk_gesture_handles_sequence (gesture, seq))
continue;
handled |= _gtk_gesture_cancel_sequence (gesture, seq); handled |= _gtk_gesture_cancel_sequence (gesture, seq);
} }