aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2021-12-15 16:30:32 +0100
committerKirill Primak <vyivel@posteo.net>2021-12-17 10:57:21 +0000
commit92d137c78ac05b565bfa06b5659aea52992e0dd7 (patch)
treea8f4bf5757289499e238af92dd6b1e9d9497b272 /include/wlr
parent7360810f2e5c71fe143b25b63517ab1a6475ce0a (diff)
layer-shell: fix type of margins
These currently use uint32_t while they are an int32_t in the protocol.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell_v1.h2
1 files changed, 1 insertions, 1 deletions
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;