mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
parent
3aaf730901
commit
63e255e7b5
@ -4294,9 +4294,6 @@ _gtk_widget_cancel_sequence (GtkWidget *widget,
|
||||
!gtk_gesture_handles_sequence (gesture, seq))
|
||||
seq = NULL;
|
||||
|
||||
if (!gtk_gesture_handles_sequence (gesture, seq))
|
||||
continue;
|
||||
|
||||
handled |= _gtk_gesture_cancel_sequence (gesture, seq);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user