diff options
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index 699ca47..0c3e550 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "FbTk/EventManager.hh" | 24 | #include "FbTk/EventManager.hh" |
25 | #include "FbTk/ImageControl.hh" | 25 | #include "FbTk/ImageControl.hh" |
26 | #include "FbTk/TextUtils.hh" | 26 | #include "FbTk/TextUtils.hh" |
27 | #include "FbTk/MemFun.hh" | ||
27 | 28 | ||
28 | #include "AtomHandler.hh" | 29 | #include "AtomHandler.hh" |
29 | #include "fluxbox.hh" | 30 | #include "fluxbox.hh" |
@@ -170,7 +171,10 @@ SystemTray::SystemTray(const FbTk::FbWindow& parent, | |||
170 | // setup signals | 171 | // setup signals |
171 | m_observer.reset(makeObserver(*this, &SystemTray::update)); | 172 | m_observer.reset(makeObserver(*this, &SystemTray::update)); |
172 | m_theme->reconfigSig().attach(m_observer.get()); | 173 | m_theme->reconfigSig().attach(m_observer.get()); |
173 | screen.bgChangeSig().attach(m_observer.get()); | 174 | |
175 | join(screen.bgChangeSig(), | ||
176 | FbTk::MemFun(*this, &SystemTray::updateForScreen)); | ||
177 | |||
174 | 178 | ||
175 | Fluxbox* fluxbox = Fluxbox::instance(); | 179 | Fluxbox* fluxbox = Fluxbox::instance(); |
176 | Display *disp = fluxbox->display(); | 180 | Display *disp = fluxbox->display(); |