From 92d137c78ac05b565bfa06b5659aea52992e0dd7 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 15 Dec 2021 16:30:32 +0100 Subject: layer-shell: fix type of margins These currently use uint32_t while they are an int32_t in the protocol. --- include/wlr/types/wlr_layer_shell_v1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_layer_shell_v1.h b/include/wlr/types/wlr_layer_shell_v1.h index 694fb3b2..79e435a0 100644 --- a/include/wlr/types/wlr_layer_shell_v1.h +++ b/include/wlr/types/wlr_layer_shell_v1.h @@ -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; -- cgit v1.2.3