diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 15:47:22 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-28 15:47:22 -0400 |
commit | 0c8a64942e087038806b353949c900e03fd764a8 (patch) | |
tree | a427ff9d8702ad5dbc6e5ede8851930662d010ef /include/sway/output.h | |
parent | Merge pull request #1638 from swaywm/swaybg-layers (diff) | |
download | sway-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.h | 4 |
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 | ||
7 | struct sway_server; | 8 | struct 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 | }; |