From 98fba4fd1a50672a918dccd5c8492556f392762f Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 27 Jul 2006 07:00:30 +0000 Subject: little fix-up, just in case some transient windows have their own transients --- src/Screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { for (unsigned int i = 0; i <= nchild; ++i) { if (i == nchild) { if (num_transients) { + if (num_transients == nchild) + safety_flag = true; nchild = num_transients; i = num_transients = 0; - safety_flag = true; } else break; } -- cgit v0.11.2