wlroots-hyprland/backend/drm
Simon Ser 6c3d080e25 backend/drm: populate cursor plane's current_fb
The set_cursor() hook is a little bit special: it's not really
synchronized to commit() or test(). Once set_cursor() returns true,
the new cursor is part of the current state.

This fixes a state where wlr_drm_connector.cursor_enabled is true
but there is no FB available. This is triggered by set_cursor()
followed by a failed commit(), which resets pending_fb.

We should definitely fix the output interface to make the cursor part
of the pending state, but that's a more involved change.
2021-06-17 00:25:27 +02:00
..
atomic.c backend/drm: remove wlr_drm_crtc_state.mode 2021-04-29 19:51:57 +02:00
backend.c backend/drm: implement get_cursor_formats and get_cursor_size 2021-06-02 11:08:52 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: populate cursor plane's current_fb 2021-06-17 00:25:27 +02:00
legacy.c backend/drm: remove wlr_drm_crtc_state.mode 2021-04-29 19:51:57 +02:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: add support for the subconnector property 2021-01-17 12:42:25 +01:00
renderer.c render: drop wlr_ prefix from wlr_renderer_bind_buffer 2021-06-09 10:26:09 +02:00
util.c Revert "backend/drm: fail instead of stripping a modifier" 2021-04-27 15:38:10 +02:00