mirror of
https://github.com/brl/mutter.git
synced 2025-04-12 21:29:38 +00:00

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. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1170 (cherry picked from commit 5f5ce08ba4f6320f27e53440a0ee8d9799e05cf6)