mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
![Georges Basile Stavracas Neto](/assets/img/avatar_default.png)
Keeping track of the projected position is costly, and adds quite some complexity to ClutterOffscreenEffect.pre_paint(). As far as research goes, there's not a single consumer of this function that uses the position for anything - only size is used. Remove clutter_offscreen_effect_get_target_rect(), and drop the annoying position field from ClutterOffscreenEffect as well. This allows us to stop projecting the position on pre-paint, and simplify things. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1474