aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-26 18:12:31 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-27 18:50:32 -0400
commit86ca4bea6de9b3494235201f5587cb7e00aed84e (patch)
treed9e1281ea4ef02f4b9d7e558b688b911d435c2d3 /include/wlr
parent097e87ca9ff34e0d17dced154ee8a860b6d86060 (diff)
Fix layer rendering/layout bugs
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell.h5
1 files changed, 3 insertions, 2 deletions
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 {