mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
4d76a21029
We have a mechanism to trigger repick after animations on clutter_actor_set_final_state(), but this will not happen if animations are disabled. In this case, shell transitions and other typically animatable changes on the transform of actors will not naturally trigger a pointer repick when those get instantly changed to the final state, possibly preserving the cached state and missing the just popped in actor altogether. Trigger an instant repick on animation-less transform changes, so that these situations are also handled correctly, and the pointer drops the cached state and is able to find the new actor. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2918 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3168>