forked from AuroraMiddleware/gtk
Merge branch 'wip/carlosg/windowhandle-gesture-state' into 'master'
gtkwindowhandle: Only claim gesture on action See merge request GNOME/gtk!2237
This commit is contained in:
commit
fbf99b8d65
@ -351,10 +351,11 @@ click_gesture_pressed_cb (GtkGestureClick *gesture,
|
||||
{
|
||||
case GDK_BUTTON_PRIMARY:
|
||||
if (n_press == 2)
|
||||
perform_titlebar_action (self, event, button, n_press);
|
||||
|
||||
gtk_gesture_set_sequence_state (GTK_GESTURE (gesture),
|
||||
sequence, GTK_EVENT_SEQUENCE_CLAIMED);
|
||||
{
|
||||
perform_titlebar_action (self, event, button, n_press);
|
||||
gtk_gesture_set_sequence_state (GTK_GESTURE (gesture),
|
||||
sequence, GTK_EVENT_SEQUENCE_CLAIMED);
|
||||
}
|
||||
break;
|
||||
|
||||
case GDK_BUTTON_SECONDARY:
|
||||
|
Loading…
Reference in New Issue
Block a user