diff options
Diffstat (limited to 'sway/desktop/render.c')
-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, | |||
844 | } | 844 | } |
845 | 845 | ||
846 | // TODO: handle views smaller than the output | 846 | // TODO: handle views smaller than the output |
847 | render_view_surfaces(fullscreen_view, output, damage, 1.0f); | 847 | if (fullscreen_view->swayc->instructions->length) { |
848 | render_saved_view(fullscreen_view, output, damage, 1.0f); | ||
849 | } else { | ||
850 | render_view_surfaces(fullscreen_view, output, damage, 1.0f); | ||
851 | } | ||
848 | 852 | ||
849 | if (fullscreen_view->type == SWAY_VIEW_XWAYLAND) { | 853 | if (fullscreen_view->type == SWAY_VIEW_XWAYLAND) { |
850 | render_unmanaged(output, damage, | 854 | render_unmanaged(output, damage, |