From 7abb4d63e2f8b58e4dd704b34c9fab07bb2f891d Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 1 Jul 2018 22:55:25 +0100 Subject: Init screencopy manager --- sway/server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index f5700c09..bd107617 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) { -- cgit v1.2.3