diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-11 13:18:00 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-11 13:26:12 (GMT) |
commit | ea466fa985f251bdd4a5afe19a41ee28ac91035d (patch) | |
tree | e32da64a63d6788ef7f242631c94cabe41d2112b /src/Screen.cc | |
parent | 4be68df4b555015bff2fa5d44b1985bdede88792 (diff) | |
download | fluxbox-ea466fa985f251bdd4a5afe19a41ee28ac91035d.zip fluxbox-ea466fa985f251bdd4a5afe19a41ee28ac91035d.tar.bz2 |
introduce autotabplacement
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) { |