From 385df732767ded5c7b3765e8ca80893aef862fec Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Wed, 22 Jun 2022 14:03:41 +0200 Subject: [PATCH] wayland/cursor-surface: Pass buffer-transform to cursor sprite This was previously forgotten, effectively disabling pre-rotated hardware cursors. Part-of: --- src/wayland/meta-wayland-cursor-surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-wayland-cursor-surface.c b/src/wayland/meta-wayland-cursor-surface.c index 87d55535c..4d3b7547c 100644 --- a/src/wayland/meta-wayland-cursor-surface.c +++ b/src/wayland/meta-wayland-cursor-surface.c @@ -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);