remove some unnecessary uses of FluxboxWindow::deiconify
Mark Tiefenbruck mark@fluxbox.org
2 files changed,
3 insertions(+),
3 deletions(-)
M
src/Window.cc
→
src/Window.cc
@@ -1789,7 +1789,7 @@
void FluxboxWindow::raise() { if (isIconic()) - deiconify(); + return;; #ifdef DEBUG cerr<<"FluxboxWindow("<<title()<<")::raise()[layer="<<layerNum()<<"]"<<endl; #endif // DEBUG@@ -1817,7 +1817,7 @@ }
void FluxboxWindow::lower() { if (isIconic()) - deiconify(); + return; #ifdef DEBUG cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl; #endif // DEBUG
M
src/Workspace.cc
→
src/Workspace.cc
@@ -119,7 +119,7 @@ void Workspace::showAll() {
Windows::iterator it = m_windowlist.begin(); Windows::iterator it_end = m_windowlist.end(); for (; it != it_end; ++it) - (*it)->deiconify(false, false); + (*it)->show(); }