clutter/click-action: Don't stop release events if gesture is inactive
I don't see how this makes sense at all, ClutterClickAction really shouldn't mess with BUTTON_RELEASE events that are not part of a gesture. So propagate those events instead of stopping them. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2552>
This commit is contained in:
parent
4fce0b974b
commit
8ad4056aa2
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ clutter_click_action_handle_event (ClutterAction *action,
|
|||
G_GNUC_FALLTHROUGH;
|
||||
case CLUTTER_BUTTON_RELEASE:
|
||||
if (!priv->is_held)
|
||||
return CLUTTER_EVENT_STOP;
|
||||
return CLUTTER_EVENT_PROPAGATE;
|
||||
|
||||
if ((has_button && clutter_event_get_button (event) != priv->press_button) ||
|
||||
clutter_event_get_device (event) != priv->press_device ||
|
||||
|
|
Loading…
Reference in a new issue