840c50b00d
The clip bounds passed in `meta_window_actor_capture_into()` represent the actual allocated buffer size where the window actor image will be eventually copied. As such, it is completely agnostic to the scaling factors that might affect the different surface actors which compose the window actor. So instead of trying to compute the scale factor by which the given clipping bounds need to be adjusted, simply clip the resulting image based on the given bounds to make sure we never overflow the destination buffer. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1022 |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-marshal.list | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
org.gnome.Mutter.RemoteDesktop.xml | ||
org.gnome.Mutter.ScreenCast.xml |