aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_surface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index ef2f2dac..d247df0c 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -31,6 +31,9 @@ enum wlr_surface_state_field {
struct wlr_surface_state {
uint32_t committed; // enum wlr_surface_state_field
+ // Sequence number of the surface state. Incremented on each commit, may
+ // overflow.
+ uint32_t seq;
struct wl_resource *buffer_resource;
int32_t dx, dy; // relative to previous position