From aa9f058e3e8c49be88cadbf506d0c089795968b3 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Fri, 22 Jun 2018 13:44:16 +0100 Subject: [PATCH] Init the dmabuf exporting protocol in wlroots Allows desktop capture via the dmabuf-capture wlroots example client. --- sway/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/server.c b/sway/server.c index 824b1d8e..8af0bc5b 100644 --- a/sway/server.c +++ b/sway/server.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -97,6 +98,7 @@ bool server_init(struct sway_server *server) { deco_manager, WLR_SERVER_DECORATION_MANAGER_MODE_SERVER); wlr_linux_dmabuf_create(server->wl_display, renderer); + wlr_export_dmabuf_manager_v1_create(server->wl_display); server->socket = wl_display_add_socket_auto(server->wl_display); if (!server->socket) {