diff --git a/sway/server.c b/sway/server.c index f5700c09c..bd1076170 100644 --- a/sway/server.c +++ b/sway/server.c @@ -7,12 +7,13 @@ #include #include #include +#include #include #include #include #include -#include #include +#include #include #include #include @@ -107,6 +108,7 @@ bool server_init(struct sway_server *server) { wlr_linux_dmabuf_create(server->wl_display, renderer); wlr_export_dmabuf_manager_v1_create(server->wl_display); + wlr_screencopy_manager_v1_create(server->wl_display); server->socket = wl_display_add_socket_auto(server->wl_display); if (!server->socket) {