diff options
Diffstat (limited to 'include')
-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 |