From c4eda86052c420ec3749461816d4d16b5e39bbfb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 8 Sep 2023 11:37:00 +0200 Subject: [PATCH] Revert "p" This reverts commit bccb5ba8f44f1c33ffcfa08c67b5778ddc65c948. --- src/egl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/egl.c b/src/egl.c index a498089..9e1d54d 100644 --- a/src/egl.c +++ b/src/egl.c @@ -554,7 +554,11 @@ void gsr_egl_unload(gsr_egl *self) { } bool gsr_egl_supports_wayland_capture(gsr_egl *self) { - return !!self->wayland.export_manager && self->wayland.num_outputs > 0; + // TODO: wlroots capture is broken right now (black screen) on amd and multiple monitors + // so it has to be disabled right now. Find out why it happens and fix it. + (void)self; + return false; + //return !!self->wayland.export_manager && self->wayland.num_outputs > 0; } bool gsr_egl_start_capture(gsr_egl *self, const char *monitor_to_capture) {