aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SystemTray.cc7
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
410void SystemTray::removeAllClients() { 403void SystemTray::removeAllClients() {