aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-01-10 11:11:24 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-01-10 11:11:24 (GMT)
commit06655f6d7ff2af0626d37f083b927af2af1be529 (patch)
tree484f8d0ab80e642b2b2a3bef02b6a045903e564e /src/Screen.cc
parent79fe2fca1de5140f538e68f6981b27cf7f917e7a (diff)
downloadfluxbox-06655f6d7ff2af0626d37f083b927af2af1be529.zip
fluxbox-06655f6d7ff2af0626d37f083b927af2af1be529.tar.bz2
Optional removal of SystemTray tool
Added the option to remove the SystemTray tool completely from fluxbox.
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
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) {