aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 9ec7130..9bf9711 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1209,7 +1209,10 @@ bool BScreen::addKdeDockapp(Window client) {
1209 FbTk::EventHandler *evh = 0; 1209 FbTk::EventHandler *evh = 0;
1210 FbTk::EventManager *evm = FbTk::EventManager::instance(); 1210 FbTk::EventManager *evm = FbTk::EventManager::instance();
1211 1211
1212 AtomHandler *handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); 1212 AtomHandler* handler = 0;
1213#if USE_TOOLBAR
1214 handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber()));
1215#endif
1213 if (handler == 0) { 1216 if (handler == 0) {
1214#ifdef SLIT 1217#ifdef SLIT
1215 if (slit() != 0 && slit()->acceptKdeDockapp()) 1218 if (slit() != 0 && slit()->acceptKdeDockapp())