summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-19 06:38:01 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-19 06:38:01 (GMT)
commita21572f1b1b8d58cd5d7bb0117924b9f3879fb9a (patch)
treeaf391f3200d4ec2e2c48858f4d63a46b4d943b08 /src
parenta8ec9d97b918325e78469bb63c01781a0feef0e7 (diff)
downloadfluxbox_lack-a21572f1b1b8d58cd5d7bb0117924b9f3879fb9a.zip
fluxbox_lack-a21572f1b1b8d58cd5d7bb0117924b9f3879fb9a.tar.bz2
remove some unnecessary uses of FluxboxWindow::deiconify
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc4
-rw-r--r--src/Workspace.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 6377da7..c48a6ff 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1789,7 +1789,7 @@ void FluxboxWindow::stick() {
1789 1789
1790void FluxboxWindow::raise() { 1790void FluxboxWindow::raise() {
1791 if (isIconic()) 1791 if (isIconic())
1792 deiconify(); 1792 return;;
1793#ifdef DEBUG 1793#ifdef DEBUG
1794 cerr<<"FluxboxWindow("<<title()<<")::raise()[layer="<<layerNum()<<"]"<<endl; 1794 cerr<<"FluxboxWindow("<<title()<<")::raise()[layer="<<layerNum()<<"]"<<endl;
1795#endif // DEBUG 1795#endif // DEBUG
@@ -1817,7 +1817,7 @@ void FluxboxWindow::raise() {
1817 1817
1818void FluxboxWindow::lower() { 1818void FluxboxWindow::lower() {
1819 if (isIconic()) 1819 if (isIconic())
1820 deiconify(); 1820 return;
1821#ifdef DEBUG 1821#ifdef DEBUG
1822 cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl; 1822 cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl;
1823#endif // DEBUG 1823#endif // DEBUG
diff --git a/src/Workspace.cc b/src/Workspace.cc
index cd899c6..6ed7664 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -119,7 +119,7 @@ void Workspace::showAll() {
119 Windows::iterator it = m_windowlist.begin(); 119 Windows::iterator it = m_windowlist.begin();
120 Windows::iterator it_end = m_windowlist.end(); 120 Windows::iterator it_end = m_windowlist.end();
121 for (; it != it_end; ++it) 121 for (; it != it_end; ++it)
122 (*it)->deiconify(false, false); 122 (*it)->show();
123} 123}
124 124
125 125