wayland/cursor-surface: Pass buffer-transform to cursor sprite

This was previously forgotten, effectively disabling pre-rotated
hardware cursors.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/344>
This commit is contained in:
Robert Mader 2022-06-22 14:03:41 +02:00
parent 43336251bd
commit 385df73276

View File

@ -109,6 +109,8 @@ cursor_sprite_prepare_at (MetaCursorSprite *cursor_sprite,
surface->scale);
meta_cursor_sprite_set_texture_scale (cursor_sprite, texture_scale);
meta_cursor_sprite_set_texture_transform (cursor_sprite,
surface->buffer_transform);
}
}
meta_wayland_surface_update_outputs (surface);