output_event_commit: Remove committed and buffer

The newly introduced state struct can be used to retrieve this.
This commit is contained in:
Alexander Orzechowski 2023-08-24 18:12:27 -04:00 committed by Simon Ser
parent 03e240a7f2
commit 5fb0007e02
8 changed files with 12 additions and 15 deletions

View file

@ -833,9 +833,7 @@ bool wlr_output_commit_state(struct wlr_output *output,
struct wlr_output_event_commit event = {
.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);