mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
output: Add commit sequence number
This allows synchronisation between different instances of commit/precommit callbacks.
This commit is contained in:
parent
d113e48a2a
commit
5d8bd4d343
2 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,9 @@ struct wlr_output {
|
|||
|
||||
struct wlr_output_state pending;
|
||||
|
||||
// Commit sequence number. Incremented on each commit, may overflow.
|
||||
uint32_t commit_seq;
|
||||
|
||||
struct {
|
||||
// Request to render a frame
|
||||
struct wl_signal frame;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue