aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 1581571..9e340f8 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1231,10 +1231,8 @@ bool BScreen::isKdeDockapp(Window client) const {
1231bool BScreen::addKdeDockapp(Window client) { 1231bool BScreen::addKdeDockapp(Window client) {
1232 1232
1233 XSelectInput(FbTk::App::instance()->display(), client, StructureNotifyMask); 1233 XSelectInput(FbTk::App::instance()->display(), client, StructureNotifyMask);
1234 char intbuff[16];
1235 sprintf(intbuff, "%d", screenNumber());
1236 string atom_name("_NET_SYSTEM_TRAY_S"); 1234 string atom_name("_NET_SYSTEM_TRAY_S");
1237 atom_name += intbuff; // append number 1235 atom_name += FbTk::StringUtil::number2String(screenNumber());
1238 // find the right atomhandler that has the name: _NET_SYSTEM_TRAY_S<num> 1236 // find the right atomhandler that has the name: _NET_SYSTEM_TRAY_S<num>
1239 AtomHandler *handler = Fluxbox::instance()->getAtomHandler(atom_name); 1237 AtomHandler *handler = Fluxbox::instance()->getAtomHandler(atom_name);
1240 FbTk::EventHandler *evh = 0; 1238 FbTk::EventHandler *evh = 0;