aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-04 23:36:06 (GMT)
committermarkt <markt>2007-01-04 23:36:06 (GMT)
commitfdaba22635a3ccf7e86e724f7e775689b9754282 (patch)
treea75edaa5729d71fe20b1dc0244ef5dd0e186b248 /src/SystemTray.cc
parent41adf369ddc24d8fae4dfa9cd804420435d7a6aa (diff)
downloadfluxbox_pavel-fdaba22635a3ccf7e86e724f7e775689b9754282.zip
fluxbox_pavel-fdaba22635a3ccf7e86e724f7e775689b9754282.tar.bz2
random attempt to fix an aMSN bug
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r--src/SystemTray.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index ea3e0bb..de99e66 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -297,6 +297,11 @@ void SystemTray::addClient(Window win) {
297 return; 297 return;
298 } 298 }
299 299
300 WinClient *winclient = Fluxbox::instance()->searchWindow(win);
301 if (winclient && winclient->fbwindow())
302 // remove client from FluxboxWindow first
303 winclient->fbwindow()->restore(winclient, false);
304
300 FbTk::FbWindow *traywin = new TrayWindow(win); 305 FbTk::FbWindow *traywin = new TrayWindow(win);
301 306
302#ifdef DEBUG 307#ifdef DEBUG