wlr_output: Add applied state to commit event

This commit is contained in:
Alexander Orzechowski 2023-08-24 18:03:19 -04:00 committed by Leo Li
parent dbc7a5cada
commit b8196df34d
2 changed files with 2 additions and 0 deletions

View file

@ -833,6 +833,7 @@ bool wlr_output_commit_state(struct wlr_output *output,
.committed = pending.committed,
.when = &now,
.buffer = (pending.committed & WLR_OUTPUT_STATE_BUFFER) ? pending.buffer : NULL,
.state = &pending,
};
wl_signal_emit_mutable(&output->events.commit, &event);