Commit 690eb8ed authored by Carlos Garnacho's avatar Carlos Garnacho

gtkwidget: Lookup the event target when cancelling GdkEventSequences

We were getting the toplevel most often here, so the gestures weren't
properly cleaned up.
parent 0d7fe2ec
......@@ -15104,7 +15104,7 @@ event_controller_sequence_state_changed (GtkGesture *gesture,
if (!event)
event_widget = gtk_get_event_widget ((GdkEvent *) event);
event_widget = gtk_get_event_target ((GdkEvent *) event);
cancel_event_sequence_on_hierarchy (widget, event_widget, sequence);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment