mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Chase wlroots!4067
This commit is contained in:
parent
e8fb7f53b8
commit
dadf3e9b78
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue