output: expose output_apply_state() to header

- need a way to apply the work of commit without side-effects
- related to 8f67446cc7 and f042de3f51
This commit is contained in:
EBADBEEF 2023-08-23 15:02:02 -07:00
parent 7431d840d0
commit a1ddc25b45
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ void output_defer_present(struct wlr_output *output, struct wlr_output_event_pre
bool output_prepare_commit(struct wlr_output *output, const struct wlr_output_state *state);
void output_apply_commit(struct wlr_output *output, const struct wlr_output_state *state);
void output_send_commit_event(struct wlr_output *output, const struct wlr_output_state *state);
void output_apply_state(struct wlr_output *output, const struct wlr_output_state *state);
void output_state_get_buffer_src_box(const struct wlr_output_state *state,
struct wlr_fbox *out);