diff options
Diffstat (limited to 'src/openbox.cc')
| -rw-r--r-- | src/openbox.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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(); |
