aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2006-07-27 07:00:30 (GMT)
committermarkt <markt>2006-07-27 07:00:30 (GMT)
commit98fba4fd1a50672a918dccd5c8492556f392762f (patch)
tree791ac4214e7ef645071ea818fa3ab7e1f6d13da9
parent7de8cabccfa4ad89923017198c4ace19152046b7 (diff)
downloadfluxbox-98fba4fd1a50672a918dccd5c8492556f392762f.zip
fluxbox-98fba4fd1a50672a918dccd5c8492556f392762f.tar.bz2
little fix-up, just in case some transient windows have their own transients
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index d067177..6e4907a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -575,9 +575,10 @@ void BScreen::initWindows() {
575 for (unsigned int i = 0; i <= nchild; ++i) { 575 for (unsigned int i = 0; i <= nchild; ++i) {
576 if (i == nchild) { 576 if (i == nchild) {
577 if (num_transients) { 577 if (num_transients) {
578 if (num_transients == nchild)
579 safety_flag = true;
578 nchild = num_transients; 580 nchild = num_transients;
579 i = num_transients = 0; 581 i = num_transients = 0;
580 safety_flag = true;
581 } else 582 } else
582 break; 583 break;
583 } 584 }