aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
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 @@
2#define _SWAY_OUTPUT_H 2#define _SWAY_OUTPUT_H
3#include <time.h> 3#include <time.h>
4#include <wayland-server.h> 4#include <wayland-server.h>
5#include <wlr/types/wlr_box.h>
5#include <wlr/types/wlr_output.h> 6#include <wlr/types/wlr_output.h>
6 7
7struct sway_server; 8struct sway_server;
@@ -13,6 +14,9 @@ struct sway_output {
13 struct sway_server *server; 14 struct sway_server *server;
14 struct timespec last_frame; 15 struct timespec last_frame;
15 16
17 struct wl_list layers[4]; // sway_layer_surface::link
18 struct wlr_box usable_area;
19
16 struct wl_listener frame; 20 struct wl_listener frame;
17 struct wl_listener output_destroy; 21 struct wl_listener output_destroy;
18}; 22};