aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-05 05:21:15 (GMT)
committermarkt <markt>2006-08-05 05:21:15 (GMT)
commit721c02204a5f00e7f1c59983df0b1549fe1e971b (patch)
tree52ceaccfc5e759a4363439307516c86bbb22fdca /src/Screen.cc
parentc65b949f97ea1eecd01fad961a42f2bd3be1ed0b (diff)
downloadfluxbox-721c02204a5f00e7f1c59983df0b1549fe1e971b.zip
fluxbox-721c02204a5f00e7f1c59983df0b1549fe1e971b.tar.bz2
a little fix for auto-grouping after restart
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 60aed17..22b41dd 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -2073,11 +2073,9 @@ WinClient *BScreen::findGroupRight(WinClient &winclient) {
2073 WinClient *other = it->second; 2073 WinClient *other = it->second;
2074 m_expecting_groups.erase(it); // don't expect it anymore 2074 m_expecting_groups.erase(it); // don't expect it anymore
2075 2075
2076 // forget about it if it isn't the left-most client in the group, plus 2076 // forget about it if it isn't the left-most client in the group
2077 // it must have the atom set on it (i.e. previously encountered by fluxbox) 2077 Window leftwin = other->getGroupLeftWindow();
2078 // for us to check our expecting 2078 if (leftwin != None && leftwin != winclient.window())
2079 if (!winclient.hasGroupLeftWindow() ||
2080 other->getGroupLeftWindow() != None)
2081 return 0; 2079 return 0;
2082 2080
2083 return other; 2081 return other;