From 4f55e1f00597efe2b8cb130eaf70f1d8c5b7c388 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 10 Jan 2004 02:58:50 +0000 Subject: destroy screens on shutdown --- src/fluxbox.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 3a48c7e..caf8365 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.217 2004/01/09 11:37:01 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.218 2004/01/10 02:58:50 fluxgen Exp $ #include "fluxbox.hh" @@ -603,7 +603,10 @@ Fluxbox::~Fluxbox() { delete m_atomhandler.back(); m_atomhandler.pop_back(); } - + while (!m_screen_list.empty()) { + delete m_screen_list.back(); + m_screen_list.pop_back(); + } clearMenuFilenames(); } -- cgit v0.11.2