diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-02 20:53:28 +0200 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-02 22:33:40 +0000 |
commit | 52b93f7eb41bd96870c935013fe6d1e36facba5c (patch) | |
tree | 3da16279f4627b966abef832b8d3cefb5f923645 /render/vulkan | |
parent | 09c87cec3f0ea779717e38b3b886ef9a93840339 (diff) |
output/cursor: fix scale and transform
Many issues here:
- wlr_output_cursor_set_buffer() takes a buffer already scaled for
the output, not a buffer with scale=1.
- wlr_output_cursor.{width,height,hotspot_x,hotspot_y} are in output
buffer coordinates.
- render_cursor_buffer() had hardcoded no-ops for scale and
transform, instead of using the cursor surface's.
Fixes: b64e7e88bfb8 ("output: add output_cursor_set_texture()")
Diffstat (limited to 'render/vulkan')
0 files changed, 0 insertions, 0 deletions