diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index dbbc875..a4a0922 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1138,6 +1138,8 @@ FluxboxWindow *BScreen::createWindow(Window client) { | |||
1138 | 1138 | ||
1139 | // check if it should be grouped with something else | 1139 | // check if it should be grouped with something else |
1140 | WinClient* other = findGroupLeft(*winclient); | 1140 | WinClient* other = findGroupLeft(*winclient); |
1141 | if (!other && m_placement_strategy->placementPolicy() == ScreenPlacement::AUTOTABPLACEMENT) | ||
1142 | other = FocusControl::focusedWindow(); | ||
1141 | FluxboxWindow* win = other ? other->fbwindow() : 0; | 1143 | FluxboxWindow* win = other ? other->fbwindow() : 0; |
1142 | 1144 | ||
1143 | if (other && win) { | 1145 | if (other && win) { |