mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
surface: introduce commit sequence numbers
Very similar to output commit sequence numbers. Can be useful to reference a specific commit.
This commit is contained in:
parent
78d21fa131
commit
7ac76aba8a
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue