From bed4b7261e76d184be6cf2492b0a671aff887d6a Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Fri, 17 Jul 2020 16:27:46 +0000 Subject: [PATCH] screencopy: Disable linux-dmabuf code path I need to iron out some kinks before it's made the default --- src/screencopy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/screencopy.c b/src/screencopy.c index 456f5a4..cdacdf6 100644 --- a/src/screencopy.c +++ b/src/screencopy.c @@ -51,12 +51,14 @@ static void screencopy_linux_dmabuf(void* data, struct zwlr_screencopy_frame_v1* frame, uint32_t format, uint32_t width, uint32_t height) { +#ifdef ENABLE_SCREENCOPY_DMABUF struct screencopy* self = data; self->have_linux_dmabuf = true; self->dmabuf_width = width; self->dmabuf_height = height; self->fourcc = format; +#endif } static void screencopy_buffer_done(void* data,