mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 16:14:10 +00:00
![Andre Moreira Magalhaes](/assets/img/avatar_default.png)
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)