diff options
author | markt <markt> | 2007-02-12 21:52:14 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-12 21:52:14 (GMT) |
commit | 282326a9d00610c2fc84e35ab1fccbd99afb0bed (patch) | |
tree | 8c754eb3e3a3ee4747dc857125a805ad985d5055 | |
parent | 83a7202a669baa543df9c04f131d272664526b9c (diff) | |
download | fluxbox-282326a9d00610c2fc84e35ab1fccbd99afb0bed.zip fluxbox-282326a9d00610c2fc84e35ab1fccbd99afb0bed.tar.bz2 |
little cleanup
-rw-r--r-- | src/SystemTray.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index de99e66..ecbdd4f 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -297,11 +297,6 @@ 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 | |||
305 | FbTk::FbWindow *traywin = new TrayWindow(win); | 300 | FbTk::FbWindow *traywin = new TrayWindow(win); |
306 | 301 | ||
307 | #ifdef DEBUG | 302 | #ifdef DEBUG |
@@ -403,8 +398,6 @@ void SystemTray::rearrangeClients() { | |||
403 | (*client_it)->moveResize(x, y, h_rot0, h_rot0); | 398 | (*client_it)->moveResize(x, y, h_rot0, h_rot0); |
404 | (*client_it)->sendConfigureNotify(x, y, h_rot0, h_rot0); | 399 | (*client_it)->sendConfigureNotify(x, y, h_rot0, h_rot0); |
405 | } | 400 | } |
406 | |||
407 | client_it = m_clients.begin(); | ||
408 | } | 401 | } |
409 | 402 | ||
410 | void SystemTray::removeAllClients() { | 403 | void SystemTray::removeAllClients() { |