Chase wlroots!4067

master
Alexander Orzechowski 2 years ago committed by GitHub
parent e8fb7f53b8
commit dadf3e9b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -512,6 +512,10 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
return false; return false;
} }
if (!wlr_output_is_direct_scanout_allowed(wlr_output)) {
return false;
}
wlr_output_attach_buffer(wlr_output, &surface->buffer->base); wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
if (!wlr_output_test(wlr_output)) { if (!wlr_output_test(wlr_output)) {
return false; return false;

Loading…
Cancel
Save