aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 3e1ad4e..86026c9 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2353,8 +2353,9 @@ void FluxboxWindow::destroyNotifyEvent(XDestroyWindowEvent &de) {
2353#ifdef DEBUG 2353#ifdef DEBUG
2354 cerr<<__FILE__<<"("<<__LINE__<<"): DestroyNotifyEvent this="<<this<<" title = "<<title()<<endl; 2354 cerr<<__FILE__<<"("<<__LINE__<<"): DestroyNotifyEvent this="<<this<<" title = "<<title()<<endl;
2355#endif // DEBUG 2355#endif // DEBUG
2356 if (numClients() == 1) 2356 delete m_client;
2357 hide(); 2357 if (numClients() == 0)
2358 delete this;
2358 } 2359 }
2359 2360
2360} 2361}
@@ -3680,9 +3681,8 @@ void FluxboxWindow::restore(WinClient *client, bool remap) {
3680 cerr<<"FluxboxWindow::restore: remap = "<<remap<<endl; 3681 cerr<<"FluxboxWindow::restore: remap = "<<remap<<endl;
3681 cerr<<__FILE__<<"("<<__FUNCTION__<<"): numClients() = "<<numClients()<<endl; 3682 cerr<<__FILE__<<"("<<__FUNCTION__<<"): numClients() = "<<numClients()<<endl;
3682#endif // DEBUG 3683#endif // DEBUG
3683 if (numClients() == 0) { 3684 if (numClients() == 0)
3684 hide(true); 3685 delete this;
3685 }
3686 3686
3687} 3687}
3688 3688