mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
forgot visibility of floating containers
This commit is contained in:
parent
5678d824e4
commit
4757ea6a12
|
@ -603,10 +603,18 @@ void update_visibility_output(swayc_t *container, wlc_handle output) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Update visibility for children
|
// Update visibility for children
|
||||||
else if (container->children) {
|
else {
|
||||||
int i, len = container->children->length;
|
if (container->children) {
|
||||||
for (i = 0; i < len; ++i) {
|
int i, len = container->children->length;
|
||||||
update_visibility_output(container->children->items[i], output);
|
for (i = 0; i < len; ++i) {
|
||||||
|
update_visibility_output(container->children->items[i], output);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (container->floating) {
|
||||||
|
int i, len = container->floating->length;
|
||||||
|
for (i = 0; i < len; ++i) {
|
||||||
|
update_visibility_output(container->floating->items[i], output);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue