output: Implement request_state event listener

wlroots backends no longer change state on their own, and instead send a
request_state event. Monitor this event and apply any state we receive.
This commit is contained in:
Kenny Levinsen 2023-11-25 12:29:57 +01:00 committed by Simon Ser
parent c9d2f3afac
commit 63c0887664
2 changed files with 15 additions and 0 deletions

View file

@ -13,6 +13,7 @@ struct cg_output {
struct wlr_scene_output *scene_output;
struct wl_listener commit;
struct wl_listener request_state;
struct wl_listener destroy;
struct wl_listener frame;