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/wlr/interfaces | |
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/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index d5837def..56404ec7 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -32,5 +32,6 @@ void wlr_output_update_mode(struct wlr_output *output, void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width, int32_t height, int32_t refresh); void wlr_output_update_enabled(struct wlr_output *output, bool enabled); +void wlr_output_update_needs_swap(struct wlr_output *output); #endif |