summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index a2a256e..5c6043d 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -4128,8 +4128,11 @@ void FluxboxWindow::ungrabPointer(Time time) {
4128} 4128}
4129 4129
4130void FluxboxWindow::associateClient(WinClient &client) { 4130void FluxboxWindow::associateClient(WinClient &client) {
4131 4131 IconButton *btn = new IconButton(frame().tabcontainer(),
4132 IconButton *btn = frame().createTab(client); 4132 frame().theme()->focusedIconbarTheme(),
4133 frame().theme()->unfocusedIconbarTheme(),
4134 client);
4135 frame().createTab(*btn);
4133 4136
4134 FbTk::RefCount<FbTk::Command> setcmd(new SetClientCmd(client)); 4137 FbTk::RefCount<FbTk::Command> setcmd(new SetClientCmd(client));
4135 btn->setOnClick(setcmd, 1); 4138 btn->setOnClick(setcmd, 1);