little fix-up, just in case some transient windows have their own transients
This commit is contained in:
parent
7de8cabccf
commit
98fba4fd1a
1 changed files with 2 additions and 1 deletions
|
@ -575,9 +575,10 @@ void BScreen::initWindows() {
|
||||||
for (unsigned int i = 0; i <= nchild; ++i) {
|
for (unsigned int i = 0; i <= nchild; ++i) {
|
||||||
if (i == nchild) {
|
if (i == nchild) {
|
||||||
if (num_transients) {
|
if (num_transients) {
|
||||||
|
if (num_transients == nchild)
|
||||||
|
safety_flag = true;
|
||||||
nchild = num_transients;
|
nchild = num_transients;
|
||||||
i = num_transients = 0;
|
i = num_transients = 0;
|
||||||
safety_flag = true;
|
|
||||||
} else
|
} else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue