diff options
author | markt <markt> | 2007-01-04 23:36:06 (GMT) |
---|---|---|
committer | markt <markt> | 2007-01-04 23:36:06 (GMT) |
commit | fdaba22635a3ccf7e86e724f7e775689b9754282 (patch) | |
tree | a75edaa5729d71fe20b1dc0244ef5dd0e186b248 | |
parent | 41adf369ddc24d8fae4dfa9cd804420435d7a6aa (diff) | |
download | fluxbox_paul-fdaba22635a3ccf7e86e724f7e775689b9754282.zip fluxbox_paul-fdaba22635a3ccf7e86e724f7e775689b9754282.tar.bz2 |
random attempt to fix an aMSN bug
-rw-r--r-- | src/SystemTray.cc | 5 |
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 |