[gtk+] widget: Cancel also denied sequences



commit 63e255e7b5326888e83bf84f1147012938c81000
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Sep 16 12:08:46 2015 +0200

    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

 gtk/gtkwidget.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d813e8b..6798a89 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]