diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-08-24 17:14:26 +0200 |
---|---|---|
committer | Jonas Ã…dahl <jadahl@gmail.com> | 2018-08-27 08:38:13 +0000 |
commit | b30c907ef95644c0adec45d599fd31c48ad0a4d2 (patch) | |
tree | 5e21be3141d06cc8febbbde3b25699a2325de3e3 | |
parent | 784a774d9cfcba39a1dc33e7af32ff7f8efed31b (diff) | |
download | mutter-b30c907ef95644c0adec45d599fd31c48ad0a4d2.tar.gz |
wayland: Use geometry_scale on opaque regions
This was done for input regions in commit 718a89eb2f4 (Thanks Jonas
for the archaeology!) but opaque regions follow the same scaling.
This brings less evident issues as opaque regions are just used for
culling optimizations.
-rw-r--r-- | src/wayland/meta-wayland-actor-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-actor-surface.c b/src/wayland/meta-wayland-actor-surface.c index c05be63eb..c4f8619a6 100644 --- a/src/wayland/meta-wayland-actor-surface.c +++ b/src/wayland/meta-wayland-actor-surface.c @@ -189,7 +189,7 @@ meta_wayland_actor_surface_real_sync_actor_state (MetaWaylandActorSurface *actor /* Wayland surface coordinate space -> stage coordinate space */ scaled_opaque_region = meta_region_scale (surface->opaque_region, - surface->scale); + geometry_scale); cairo_region_intersect_rectangle (scaled_opaque_region, &surface_rect); meta_surface_actor_set_opaque_region (surface_actor, scaled_opaque_region); |