diff options
author | emersion <contact@emersion.fr> | 2018-01-20 16:43:14 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-20 16:43:14 +0100 |
commit | 4ca38b84ede12aed3c3b807521992b3580384f76 (patch) | |
tree | 67b2fac5e71bcc97af390fca94dbff3416b8f809 /include/rootston | |
parent | bc001e90e988c965776abbd078224c14ac296047 (diff) |
backend/drm: fix hardware cursors not moving
This adds back `wlr_output::needs_swap`. This allows a backend to
request buffer swaps even if the output isn't damaged. This is
needed by the DRM backend to trigger pageflips when the cursor
moves.
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h index a80e1f49..e8241de7 100644 --- a/include/rootston/output.h +++ b/include/rootston/output.h @@ -16,11 +16,11 @@ struct roots_output { struct timespec last_frame; pixman_region32_t damage, previous_damage; - bool frame_scheduled; + bool frame_pending; struct wl_listener frame; struct wl_listener mode; - struct wl_listener damage_listener; + struct wl_listener needs_swap; }; void output_add_notify(struct wl_listener *listener, void *data); |