diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 5 |
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) { | |||
435 | void Workspace::shutdown() { | 433 | void 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 | } |