From f257e4b0792e07e11a56828d4769f618e35df105 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Nov 2002 04:26:36 +0000 Subject: position the client inside the frame correctly. unmanage all clients on shutdown --- src/openbox.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openbox.cc') diff --git a/src/openbox.cc b/src/openbox.cc index c5a93eeb..757a6984 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -105,6 +105,12 @@ Openbox::Openbox(int argc, char **argv) Openbox::~Openbox() { _state = State_Exiting; // time to kill everything + + // unmanage all windows + ClientMap::iterator it, end; + for (it = _clients.begin(), end = _clients.end(); it != end; ++it) { + _xeventhandler.unmanageWindow(it->second); + } // close the X display otk::OBDisplay::destroy(); -- cgit v1.2.3