aboutsummaryrefslogtreecommitdiff
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 19:27:52 -0400
committerGitHub <noreply@github.com>2018-03-28 19:27:52 -0400
commitca809d25199b229b3da7d69f427eb67539dc7bc0 (patch)
treeb28c55c464feb85c61f314a26487404fd63f4fb3 /include/sway/output.h
parent9070950eecded7bfa64e7bca3bb76b150ccc8b72 (diff)
parent8d6bce02afc656bf792815ed68121f4e614cd175 (diff)
Merge pull request #1642 from swaywm/layer-shell
Implement layer shell (rendering)
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