render: Use current instead of pending fullscreen

master
Kenny Levinsen 4 years ago committed by Tudor Brindus
parent a047b5ee4a
commit 35342d89a9

@ -957,7 +957,7 @@ static void render_floating(struct sway_output *soutput,
} }
for (int k = 0; k < ws->current.floating->length; ++k) { for (int k = 0; k < ws->current.floating->length; ++k) {
struct sway_container *floater = ws->current.floating->items[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; continue;
} }
render_floating_container(soutput, damage, floater); render_floating_container(soutput, damage, floater);

Loading…
Cancel
Save