Commit ed5d73b4 authored by Carlos Garnacho's avatar Carlos Garnacho

gesture: check the gesture after denying a sequence.

So the gesture emits end() timely.
parent 03381bea
......@@ -662,6 +662,10 @@ gtk_gesture_set_sequence_state (GtkGesture *gesture,
data->state = state;
g_signal_emit (gesture, signals[SEQUENCE_STATE_CHANGED], 0,
sequence, old_state);
if (state == GTK_EVENT_SEQUENCE_DENIED)
_gtk_gesture_check_recognized (gesture, sequence);
return TRUE;
}
......
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