aboutsummaryrefslogtreecommitdiff
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 15:47:22 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 15:47:22 -0400
commit0c8a64942e087038806b353949c900e03fd764a8 (patch)
treea427ff9d8702ad5dbc6e5ede8851930662d010ef /include/sway/output.h
parent9070950eecded7bfa64e7bca3bb76b150ccc8b72 (diff)
Add initial layer shell skeleton
Diffstat (limited to 'include/sway/output.h')
-rw-r--r--include/sway/output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 95d64705..769d44d0 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -2,6 +2,7 @@
#define _SWAY_OUTPUT_H
#include <time.h>
#include <wayland-server.h>
+#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
struct sway_server;
@@ -13,6 +14,9 @@ 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;
};