aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-28 15:47:22 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-28 15:47:22 -0400
commit0c8a64942e087038806b353949c900e03fd764a8 (patch)
treea427ff9d8702ad5dbc6e5ede8851930662d010ef /include/sway/output.h
parentMerge pull request #1638 from swaywm/swaybg-layers (diff)
downloadsway-0c8a64942e087038806b353949c900e03fd764a8.tar.gz
sway-0c8a64942e087038806b353949c900e03fd764a8.tar.zst
sway-0c8a64942e087038806b353949c900e03fd764a8.zip
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 @@
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};