mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
Chase wlroots!4067
This commit is contained in:
parent
e8fb7f53b8
commit
dadf3e9b78
1 changed files with 4 additions and 0 deletions
|
@ -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