aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-19 23:11:37 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-27 18:50:09 -0400
commit4bf936360d42fb5b96a44fd17028ae66fc462362 (patch)
treeec014a3754015e1638f583b8668cafb8c02e22b6 /include/wlr
parentfcf8c6c8a29e3ce0a17bcf7ce1ca92fed8493502 (diff)
Arrange & render layer surfaces
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h
index 0807fe8d..3002345d 100644
--- a/include/wlr/types/wlr_layer_shell.h
+++ b/include/wlr/types/wlr_layer_shell.h
@@ -42,14 +42,12 @@ struct wlr_layer_client {
};
struct wlr_layer_surface_state {
- // Client
uint32_t anchor;
uint32_t exclusive_zone;
struct {
uint32_t top, right, bottom, left;
} margin;
bool keyboard_interactive;
- // Server
uint32_t width, height;
};
@@ -61,6 +59,7 @@ struct wlr_layer_surface_configure {
struct wlr_layer_surface {
struct wlr_surface *surface;
+ struct wlr_output *output;
struct wlr_layer_client *client;
struct wl_resource *resource;
struct wl_list link; // wlr_layer_client:surfaces