mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: add wlr_output_event_commit.buffer
This allows output commit listeners to access the newly committed buffer. Currently wlr_output.front_buffer is used but it'll get removed in the next commit.
This commit is contained in:
parent
7201aae3d6
commit
f016eca97c
2 changed files with 2 additions and 0 deletions
|
|
@ -743,6 +743,7 @@ bool wlr_output_commit(struct wlr_output *output) {
|
|||
.output = output,
|
||||
.committed = committed,
|
||||
.when = &now,
|
||||
.buffer = back_buffer,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->events.commit, &event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue