mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
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:
parent
43336251bd
commit
385df73276
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user