From d6f8820a8b7190a2ce76a0f140e1514e2c32dd50 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 13 Jan 2022 11:15:39 +0100 Subject: Upgrade for wlroots surface refactoring See [1] for details. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412 --- sway/server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/server.c') diff --git a/sway/server.c b/sway/server.c index f50a0987..567e6ae4 100644 --- a/sway/server.c +++ b/sway/server.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -101,6 +102,8 @@ bool server_init(struct sway_server *server) { wl_signal_add(&server->compositor->events.new_surface, &server->compositor_new_surface); + wlr_subcompositor_create(server->wl_display); + server->data_device_manager = wlr_data_device_manager_create(server->wl_display); -- cgit v1.2.3