wlr-output-management: implement adaptive sync

Version 4 of the protocol adds support for reporting/setting adaptive
sync state of outputs. Implement these new requests/events in wlroots.
This commit is contained in:
Isaac Freund 2022-07-06 17:47:19 +02:00 committed by Simon Ser
parent c2d2773df5
commit a773231c42
3 changed files with 80 additions and 6 deletions

View file

@ -56,6 +56,7 @@ struct wlr_output_head_v1_state {
int32_t x, y;
enum wl_output_transform transform;
float scale;
bool adaptive_sync_enabled;
};
struct wlr_output_head_v1 {