render: Use current instead of pending fullscreen

This commit is contained in:
Kenny Levinsen 2021-02-12 23:27:08 +01:00
parent 54ca852425
commit 4c505dfb07

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);