aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/layers.h3
-rw-r--r--include/sway/output.h6
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