diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/render.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 28c81942..b370f8a2 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -844,7 +844,11 @@ void output_render(struct sway_output *output, struct timespec *when, } // TODO: handle views smaller than the output - render_view_surfaces(fullscreen_view, output, damage, 1.0f); + if (fullscreen_view->swayc->instructions->length) { + render_saved_view(fullscreen_view, output, damage, 1.0f); + } else { + render_view_surfaces(fullscreen_view, output, damage, 1.0f); + } if (fullscreen_view->type == SWAY_VIEW_XWAYLAND) { render_unmanaged(output, damage, |