mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
109fbdbac9
The clutter_actor_get_transformed_position returns the position of the top left point of the actor, with the actor transformations. That means that if the actor is rotated 180º it'll return the "screen" position top right. Using this to calculate if the actor is in the screen is causing problems when it's transformted. This patch adds a new function clutter_actor_get_transformed_extents, that will return the transformed actor bounding rect. This new function is used on the update_stage_views so the actor will get updated. this way rotated actors will be updated if they are on the screen. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1386 |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |