diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
commit | dbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch) | |
tree | 37cefce75eef2f7e0c749c3489008608e71dcd6c /src/Window.cc | |
parent | ac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff) | |
download | fluxbox_paul-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip fluxbox_paul-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2 |
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 7 |
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 | ||
4130 | void FluxboxWindow::associateClient(WinClient &client) { | 4130 | void 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); |