render: Use current instead of pending fullscreen

This commit is contained in:
Kenny Levinsen 2021-02-12 23:27:08 +01:00 committed by Tudor Brindus
parent a047b5ee4a
commit 35342d89a9
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ static void render_floating(struct sway_output *soutput,
}
for (int k = 0; k < ws->current.floating->length; ++k) {
struct sway_container *floater = ws->current.floating->items[k];
if (floater->pending.fullscreen_mode != FULLSCREEN_NONE) {
if (floater->current.fullscreen_mode != FULLSCREEN_NONE) {
continue;
}
render_floating_container(soutput, damage, floater);