aboutsummaryrefslogtreecommitdiff
path: root/include
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
parent097e87ca9ff34e0d17dced154ee8a860b6d86060 (diff)
Fix layer rendering/layout bugs
Diffstat (limited to 'include')
-rw-r--r--include/rootston/layers.h1
-rw-r--r--include/wlr/types/wlr_layer_shell.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/include/rootston/layers.h b/include/rootston/layers.h
index 43041786..cc285fe7 100644
--- a/include/rootston/layers.h
+++ b/include/rootston/layers.h
@@ -15,6 +15,7 @@ struct roots_layer_surface {
struct wl_listener unmap;
struct wl_listener surface_commit;
struct wl_listener output_destroy;
+ struct wl_listener output_mode;
bool configured;
struct wlr_box geo;
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 {