aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 {