diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 7992a19..637bd82 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -55,7 +55,9 @@ | |||
55 | #include "HeadArea.hh" | 55 | #include "HeadArea.hh" |
56 | #include "RectangleUtil.hh" | 56 | #include "RectangleUtil.hh" |
57 | #include "FbCommands.hh" | 57 | #include "FbCommands.hh" |
58 | #ifdef USE_SYSTRAY | ||
58 | #include "SystemTray.hh" | 59 | #include "SystemTray.hh" |
60 | #endif | ||
59 | #include "Debug.hh" | 61 | #include "Debug.hh" |
60 | 62 | ||
61 | #include "FbTk/I18n.hh" | 63 | #include "FbTk/I18n.hh" |
@@ -1212,7 +1214,7 @@ bool BScreen::addKdeDockapp(Window client) { | |||
1212 | FbTk::EventManager *evm = FbTk::EventManager::instance(); | 1214 | FbTk::EventManager *evm = FbTk::EventManager::instance(); |
1213 | 1215 | ||
1214 | AtomHandler* handler = 0; | 1216 | AtomHandler* handler = 0; |
1215 | #if USE_TOOLBAR | 1217 | #if USE_SYSTRAY |
1216 | handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); | 1218 | handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); |
1217 | #endif | 1219 | #endif |
1218 | if (handler == 0) { | 1220 | if (handler == 0) { |