layer-shell: fix type of margins

These currently use uint32_t while they are an int32_t in the protocol.
This commit is contained in:
Isaac Freund 2021-12-15 16:30:32 +01:00 committed by Kirill Primak
parent 7360810f2e
commit 92d137c78a
2 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,7 @@ struct wlr_layer_surface_v1_state {
uint32_t anchor;
int32_t exclusive_zone;
struct {
uint32_t top, right, bottom, left;
int32_t top, right, bottom, left;
} margin;
enum zwlr_layer_surface_v1_keyboard_interactivity keyboard_interactive;
uint32_t desired_width, desired_height;