diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2023-04-06 22:03:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 22:03:52 +0200 |
commit | dadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f (patch) | |
tree | 45fd79e91b51c3ddaf1a647e49b727ae6fbabecc /sway/desktop/output.c | |
parent | Remove duplicate wlr_damage_ring_set_bounds() call (diff) | |
download | sway-dadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f.tar.gz sway-dadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f.tar.zst sway-dadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f.zip |
Chase wlroots!4067
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
512 | return false; | 512 | return false; |
513 | } | 513 | } |
514 | 514 | ||
515 | if (!wlr_output_is_direct_scanout_allowed(wlr_output)) { | ||
516 | return false; | ||
517 | } | ||
518 | |||
515 | wlr_output_attach_buffer(wlr_output, &surface->buffer->base); | 519 | wlr_output_attach_buffer(wlr_output, &surface->buffer->base); |
516 | if (!wlr_output_test(wlr_output)) { | 520 | if (!wlr_output_test(wlr_output)) { |
517 | return false; | 521 | return false; |