mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output: add when field to wlr_output_event_commit
Similar to the one already present in wlr_output_event_precommit.
This commit is contained in:
parent
ccd313e01a
commit
8c8164c4a6
2 changed files with 2 additions and 0 deletions
|
|
@ -607,6 +607,7 @@ bool wlr_output_commit(struct wlr_output *output) {
|
|||
struct wlr_output_event_commit event = {
|
||||
.output = output,
|
||||
.committed = output->pending.committed,
|
||||
.when = &now,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->events.commit, &event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue