Skip to content

clutter/click-action: Do not process captured event if action is disabled

Disabling a click action after a button-press but before a button-release is captured makes ClutterClickAction connect to captured-event and never disconnect.

This change fixes it by making sure the captured-event is only processed if the action is still enabled, otherwise releasing the action (reset state) and propagating the event.

Merge request reports