diff options
| author | Andri Yngvason <andri@yngvason.is> | 2019-10-19 14:46:24 +0000 | 
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2019-10-22 10:41:32 -0400 | 
| commit | 5d8bd4d343397f2f2ef2bb20241363248e034e42 (patch) | |
| tree | f2593c0b120248bd0173db4a77c776c22316a164 /include | |
| parent | d113e48a2a32542fe6e12f1759f07888364609bf (diff) | |
| download | wlroots-5d8bd4d343397f2f2ef2bb20241363248e034e42.tar.xz | |
output: Add commit sequence number
This allows synchronisation between different instances of commit/precommit
callbacks.
Diffstat (limited to 'include')
| -rw-r--r-- | include/wlr/types/wlr_output.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 01e71206..97aa885e 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -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; | 
