Chase wlroots!4067

This commit is contained in:
Alexander Orzechowski 2023-04-06 22:03:52 +02:00 committed by GitHub
parent e8fb7f53b8
commit dadf3e9b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;