surface: add WLR_SURFACE_STATE_OFFSET

This indicates whether the surface offset has changed.
This commit is contained in:
Simon Ser 2021-06-29 13:26:31 +02:00
parent 98cf38601f
commit 42d68d7532
2 changed files with 8 additions and 5 deletions

View file

@ -28,6 +28,7 @@ enum wlr_surface_state_field {
WLR_SURFACE_STATE_SCALE = 1 << 6,
WLR_SURFACE_STATE_FRAME_CALLBACK_LIST = 1 << 7,
WLR_SURFACE_STATE_VIEWPORT = 1 << 8,
WLR_SURFACE_STATE_OFFSET = 1 << 9,
};
struct wlr_surface_state {