From bcb898238ca37fe15b6a2d8b7265b1a606915991 Mon Sep 17 00:00:00 2001 From: project-repo Date: Sat, 18 Jul 2020 22:58:54 +0200 Subject: [PATCH] Fix incompatibilities with wlroots 0.11.0 --- output.c | 5 +---- xwayland.c | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/output.c b/output.c index 4f40050..53f7b25 100644 --- a/output.c +++ b/output.c @@ -261,10 +261,7 @@ scan_out_primary_view(struct cg_output *output) { return false; } - if(!wlr_output_attach_buffer(wlr_output, surface->buffer)) { - return false; - } - + wlr_output_attach_buffer(wlr_output, &surface->buffer->base); return wlr_output_commit(wlr_output); } diff --git a/xwayland.c b/xwayland.c index f2d6086..9256945 100644 --- a/xwayland.c +++ b/xwayland.c @@ -7,6 +7,7 @@ * See the LICENSE file accompanying this file. */ +#include #include #include #include