From 282326a9d00610c2fc84e35ab1fccbd99afb0bed Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 12 Feb 2007 21:52:14 +0000 Subject: little cleanup --- src/SystemTray.cc | 7 ------- 1 file changed, 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) { return; } - WinClient *winclient = Fluxbox::instance()->searchWindow(win); - if (winclient && winclient->fbwindow()) - // remove client from FluxboxWindow first - winclient->fbwindow()->restore(winclient, false); - FbTk::FbWindow *traywin = new TrayWindow(win); #ifdef DEBUG @@ -403,8 +398,6 @@ void SystemTray::rearrangeClients() { (*client_it)->moveResize(x, y, h_rot0, h_rot0); (*client_it)->sendConfigureNotify(x, y, h_rot0, h_rot0); } - - client_it = m_clients.begin(); } void SystemTray::removeAllClients() { -- cgit v0.11.2