From dadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 6 Apr 2023 22:03:52 +0200 Subject: [PATCH] Chase wlroots!4067 --- sway/desktop/output.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 5671ac59..59319f62 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -512,6 +512,10 @@ static bool scan_out_fullscreen_view(struct sway_output *output, return false; } + if (!wlr_output_is_direct_scanout_allowed(wlr_output)) { + return false; + } + wlr_output_attach_buffer(wlr_output, &surface->buffer->base); if (!wlr_output_test(wlr_output)) { return false;