mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
wayland: Use geometry_scale on opaque regions
This was done for input regions in commit 718a89eb2f
(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.
This commit is contained in:
parent
784a774d9c
commit
b30c907ef9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user