wlroots/types/output
JiDe Zhang d4ff45ec8d output: reset hardware_cursor on failure
The DRM backend's set_cursor function always return true if the
buffer is NULL. If using a NULL cursor's buffer on startup, the
wlr_output_cursor will be marked as a hardware cursor. If the
cursor later gains a non-NULL buffer and the DRM backend rejects
that buffer, the cursor will remain marked as a hardware cursor,
despite the backend not displaying it as such. As a result, the
cursor will not be displayed at all. Fix this by always resetting
the hardware_cursor field in output_cursor_attempt_hardware().

(cherry picked from commit 36c0d5fe3a)
2024-06-11 13:21:05 +00:00
..
cursor.c output: reset hardware_cursor on failure 2024-06-11 13:21:05 +00:00
output.c types/output: emit destroy event before destroying global 2023-12-01 09:53:01 -05:00
render.c output: allow_artifacts -> allow_reconfiguration 2023-10-09 08:31:35 +00:00
state.c output: allow_artifacts -> allow_reconfiguration 2023-10-09 08:31:35 +00:00
swapchain.c output: add wlr_output_state_init() 2023-06-23 18:07:26 +00:00
transform.c output: split into multiple files 2021-10-23 00:49:24 +02:00