mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
parent
0f14abf512
commit
3b50a2a3af
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue