aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-22 21:06:08 -0500
committerDrew DeVault <sir@cmpwn.com>2017-11-22 21:06:08 -0500
commit4ca1e77fdbbf559a5bb28d4936afa6ade63985cd (patch)
tree935c9a56d20f591688d196a85cecfc6080727d26 /include/sway/server.h
parentaeda2e077f6184ecd26dc078c7b5db7f0dc54fd7 (diff)
Add views to tree and render them
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 60f35190..b0684d15 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -4,6 +4,7 @@
#include <wayland-server.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
+#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/render.h>
@@ -18,6 +19,7 @@ struct sway_server {
struct wlr_backend *backend;
struct wlr_renderer *renderer;
+ struct wlr_compositor *compositor;
struct wlr_data_device_manager *data_device_manager;
struct sway_input *input;