wayland/surface: Fix sending preferred buffer transform
Fix an obvious copy paste error that slipped through the cracks.
Fortunately it doesn't have a visual impact for well behaving clients
but only makes us not hit direct-scanout paths, assuming no other bugs
in the stack.
Fixes: f21762ea6e
(wayland: Add support for preferred_buffer_scale/transform)
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3717>
This commit is contained in:
parent
b57c80602d
commit
6a81d5f0bb
1 changed files with 1 additions and 1 deletions
|
@ -2457,7 +2457,7 @@ committed_state_handle_highest_scale_monitor (MetaWaylandSurface *surface)
|
|||
transform = meta_wayland_surface_get_output_transform (surface);
|
||||
if (transform != surface->preferred_transform)
|
||||
{
|
||||
wl_surface_send_preferred_buffer_transform (surface->resource, ceiled_scale);
|
||||
wl_surface_send_preferred_buffer_transform (surface->resource, transform);
|
||||
surface->preferred_transform = transform;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue