1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 04:33:59 +01:00

Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer

Use saved buffer when fullscreen view is in a transaction
This commit is contained in:
emersion 2018-07-11 13:04:06 +01:00 committed by GitHub
commit 73084c5fa6
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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,