diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 16:38:11 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-28 16:42:13 -0400 |
commit | 68cfa7ef6705c530ff28d9754c5b6cab7b429150 (patch) | |
tree | 0c25eb44f1285f2522b6a5f014276239cfa6ae3f /include/sway | |
parent | 0c8a64942e087038806b353949c900e03fd764a8 (diff) | |
download | sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.xz |
Render layer surfaces and respect exclusive zone
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/layers.h | 3 | ||||
-rw-r--r-- | include/sway/output.h | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/sway/layers.h b/include/sway/layers.h index 73fb7cb8..22054be1 100644 --- a/include/sway/layers.h +++ b/include/sway/layers.h @@ -21,4 +21,7 @@ struct sway_layer_surface { struct wlr_box geo; }; +struct sway_output; +void arrange_layers(struct sway_output *output); + #endif diff --git a/include/sway/output.h b/include/sway/output.h index 769d44d0..44d009d1 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -4,6 +4,7 @@ #include <wayland-server.h> #include <wlr/types/wlr_box.h> #include <wlr/types/wlr_output.h> +#include <unistd.h> struct sway_server; struct sway_container; @@ -18,7 +19,10 @@ struct sway_output { struct wlr_box usable_area; struct wl_listener frame; - struct wl_listener output_destroy; + struct wl_listener destroy; + struct wl_listener mode; + + pid_t bg_pid; }; #endif |