aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-01-13 11:15:39 +0100
committerKirill Primak <vyivel@eclair.cafe>2022-01-13 14:01:37 +0300
commitd6f8820a8b7190a2ce76a0f140e1514e2c32dd50 (patch)
treee59e41a785297697c9e8fef7f1a8b1e90efc1699 /sway/tree
parentdbaf2e4fdb327f05f792b69430fe6f893fc9d879 (diff)
downloadsway-d6f8820a8b7190a2ce76a0f140e1514e2c32dd50.tar.xz
Upgrade for wlroots surface refactoring
See [1] for details. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c1
-rw-r--r--sway/tree/view.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 79e04ec0..4756028c 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -9,6 +9,7 @@
#include <wayland-server-core.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
#include <wlr/types/wlr_output_layout.h>
+#include <wlr/types/wlr_subcompositor.h>
#include <wlr/render/drm_format_set.h>
#include "linux-dmabuf-unstable-v1-protocol.h"
#include "cairo_util.h"
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 1318f5fb..7d9e038d 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -6,6 +6,7 @@
#include <wlr/types/wlr_buffer.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_server_decoration.h>
+#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_xdg_decoration_v1.h>
#include "config.h"
#if HAVE_XWAYLAND