aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
commitdbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch)
tree37cefce75eef2f7e0c749c3489008608e71dcd6c /src/Window.cc
parentac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff)
downloadfluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip
fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
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);