render: Use current instead of pending fullscreen
This commit is contained in:
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) {
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue