mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-31 11:08:25 -05:00
output: add wlr_output_event_precommit.state
This commit is contained in:
parent
c4253fef9c
commit
b21c26a1c9
4 changed files with 13 additions and 6 deletions
|
|
@ -703,6 +703,7 @@ bool wlr_output_commit(struct wlr_output *output) {
|
|||
struct wlr_output_event_precommit pre_event = {
|
||||
.output = output,
|
||||
.when = &now,
|
||||
.state = &output->pending,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->events.precommit, &pre_event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue