[mutter] wayland/cursor-surface: Pass buffer-transform to cursor sprite
- From: Robert Mader <rmader src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland/cursor-surface: Pass buffer-transform to cursor sprite
- Date: Fri, 5 Aug 2022 20:01:01 +0000 (UTC)
commit 385df732767ded5c7b3765e8ca80893aef862fec
Author: Robert Mader <robert mader posteo de>
Date: Wed Jun 22 14:03:41 2022 +0200
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>
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 87d55535cb..4d3b7547c5 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]