aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
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;