aboutsummaryrefslogtreecommitdiff
path: root/include/sway/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/output.h')
-rw-r--r--include/sway/output.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 95d64705..f899230f 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -1,7 +1,9 @@
#ifndef _SWAY_OUTPUT_H
#define _SWAY_OUTPUT_H
#include <time.h>
+#include <unistd.h>
#include <wayland-server.h>
+#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
struct sway_server;
@@ -13,8 +15,14 @@ struct sway_output {
struct sway_server *server;
struct timespec last_frame;
+ struct wl_list layers[4]; // sway_layer_surface::link
+ 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