diff options
author | 2018-03-28 16:38:11 -0400 | |
---|---|---|
committer | 2018-03-28 16:42:13 -0400 | |
commit | 68cfa7ef6705c530ff28d9754c5b6cab7b429150 (patch) | |
tree | 0c25eb44f1285f2522b6a5f014276239cfa6ae3f /include/sway | |
parent | Add initial layer shell skeleton (diff) | |
download | sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.gz sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.zst sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.zip |
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 { | |||
21 | struct wlr_box geo; | 21 | struct wlr_box geo; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | struct sway_output; | ||
25 | void arrange_layers(struct sway_output *output); | ||
26 | |||
24 | #endif | 27 | #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 @@ | |||
4 | #include <wayland-server.h> | 4 | #include <wayland-server.h> |
5 | #include <wlr/types/wlr_box.h> | 5 | #include <wlr/types/wlr_box.h> |
6 | #include <wlr/types/wlr_output.h> | 6 | #include <wlr/types/wlr_output.h> |
7 | #include <unistd.h> | ||
7 | 8 | ||
8 | struct sway_server; | 9 | struct sway_server; |
9 | struct sway_container; | 10 | struct sway_container; |
@@ -18,7 +19,10 @@ struct sway_output { | |||
18 | struct wlr_box usable_area; | 19 | struct wlr_box usable_area; |
19 | 20 | ||
20 | struct wl_listener frame; | 21 | struct wl_listener frame; |
21 | struct wl_listener output_destroy; | 22 | struct wl_listener destroy; |
23 | struct wl_listener mode; | ||
24 | |||
25 | pid_t bg_pid; | ||
22 | }; | 26 | }; |
23 | 27 | ||
24 | #endif | 28 | #endif |