aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-02-09 14:11:14 (GMT)
committerrathnor <rathnor>2003-02-09 14:11:14 (GMT)
commite3b99d4e485591df52b2398fce9adbcece2b9917 (patch)
tree44c14c5160e07e1af0671e141ae99cc1f2e66609 /src/Workspace.cc
parent1a04cf1ce2649400d41c43024bd163a059cc426d (diff)
downloadfluxbox_pavel-e3b99d4e485591df52b2398fce9adbcece2b9917.zip
fluxbox_pavel-e3b99d4e485591df52b2398fce9adbcece2b9917.tar.bz2
fixing up of layer code
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 091e14d..694292e 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.45 2003/02/03 13:56:12 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.46 2003/02/09 14:11:13 rathnor Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -138,8 +138,6 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
138 m_clientmenu.insert(w->getTitle().c_str()); 138 m_clientmenu.insert(w->getTitle().c_str());
139 m_windowlist.push_back(w); 139 m_windowlist.push_back(w);
140 140
141 w->raise();
142
143 //update menugraphics 141 //update menugraphics
144 m_clientmenu.update(); 142 m_clientmenu.update();
145 143
@@ -435,7 +433,6 @@ void Workspace::setName(const std::string &name) {
435void Workspace::shutdown() { 433void Workspace::shutdown() {
436 // note: when the window dies it'll remove it self from the list 434 // note: when the window dies it'll remove it self from the list
437 while (!m_windowlist.empty()) { 435 while (!m_windowlist.empty()) {
438 cerr<<m_windowlist.size()<<endl;
439 m_windowlist.back()->restore(true); // restore with remap 436 m_windowlist.back()->restore(true); // restore with remap
440 delete m_windowlist.back(); //delete window (the window removes it self from m_windowlist) 437 delete m_windowlist.back(); //delete window (the window removes it self from m_windowlist)
441 } 438 }