• Carlos Garnacho's avatar
    gesturesingle: Ignore motion/updates from unhandled sequences · 8bf5b175
    Carlos Garnacho authored
    This used to do the right thing, practically ignoring those event
    if they went all through the event handler, unless this motion event
    triggered the cancellation of this gesture from the event handler
    of another controllers.
    
    In this case, the controller would be reset, but the motion event
    would still go through its handler, setting again
    current_button/sequence as the motion event has buttons in its
    modifiers. This leaves GtkGestureSingle with inconsistent data
    that may interfere with future runs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747469
    8bf5b175
gtkgesturesingle.c 15.8 KB