forked from AuroraMiddleware/gtk
button: Claim the sequence on multipress::pressed
In order to avoid the event from bubbling, as it used to (not) do.
This commit is contained in:
parent
e0fd901722
commit
2012b67c5b
@ -598,6 +598,7 @@ multipress_pressed_cb (GtkGestureMultiPress *gesture,
|
||||
gtk_widget_grab_focus (widget);
|
||||
|
||||
g_signal_emit (button, button_signals[PRESSED], 0);
|
||||
gtk_gesture_set_state (GTK_GESTURE (gesture), GTK_EVENT_SEQUENCE_CLAIMED);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user