mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output_event_commit: Remove committed and buffer
The newly introduced state struct can be used to retrieve this.
This commit is contained in:
parent
03e240a7f2
commit
5fb0007e02
8 changed files with 12 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue