mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
render: Use current instead of pending fullscreen
This commit is contained in:
parent
a047b5ee4a
commit
35342d89a9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue