From 86ca4bea6de9b3494235201f5587cb7e00aed84e Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Mon, 26 Mar 2018 18:12:31 -0400
Subject: Fix layer rendering/layout bugs

---
 include/wlr/types/wlr_layer_shell.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'include/wlr')

diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h
index 5d9feb27..c24b391e 100644
--- a/include/wlr/types/wlr_layer_shell.h
+++ b/include/wlr/types/wlr_layer_shell.h
@@ -43,12 +43,13 @@ struct wlr_layer_client {
 
 struct wlr_layer_surface_state {
 	uint32_t anchor;
-	uint32_t exclusive_zone;
+	int32_t exclusive_zone;
 	struct {
 		uint32_t top, right, bottom, left;
 	} margin;
 	bool keyboard_interactive;
-	uint32_t width, height;
+	uint32_t desired_width, desired_height;
+	uint32_t actual_width, actual_height;
 };
 
 struct wlr_layer_surface_configure {
-- 
cgit v1.2.3