mutter/src
Olivier Fourdan 3738579dd3 window-actor: Use actual image size for capture
Previously, the clipping rectangle passed to
`meta_surface_actor_get_image()` was updated with the actual texture
size, but recent changes in `meta_shaped_texture_get_image()` now keep
the caller's clipping rectangle unchanged.

The implementation of `meta_window_actor_capture_into()` was relying on
the old behavior of updating the passed clipping rectangle, but now that
it's kept unchanged, the actual clipping rectangle used to copy the data
is wrong, which causes either a distorded image or worse, a crash of
mutter.

Use the resulting cairo image size to copy the data instead of the
clipping rectangle to avoid the issue and get the expected size.

Fixes: https://gitlab.gnome.org/GNOME/mutter/issues/442
2019-01-22 10:30:04 +01:00
..
backends input-settings/x11: Only warn once about missing udev support 2019-01-22 02:21:13 +01:00
compositor window-actor: Use actual image size for capture 2019-01-22 10:30:04 +01:00
core startup-notification: Silence warning 2019-01-18 18:18:57 +01:00
meta core: Add MetaLaunchContext 2019-01-18 17:03:57 +00:00
tests meta/tests: Remove commented lines 2018-12-20 13:52:35 -02:00
ui theme: Drop gtk_css_provider_get_default() 2018-11-08 16:20:19 -02:00
wayland wayland: Accept NULL primary data source 2019-01-18 13:52:05 +00:00
x11 x11: Add method to launch applications, using SnLauncher 2019-01-18 17:03:57 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build core: Add MetaLaunchContext 2019-01-18 17:03:57 +00:00
meta-marshal.list renderer-native: Add hardware presentation timing 2018-11-23 11:01:30 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add 'cursor-mode' to allow decoupled cursor updates 2019-01-16 17:09:51 +00:00