From 57ac5e5b5eba515f3d6b8a194b3a389a6d44a186 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 28 May 2002 09:53:11 +0000 Subject: sync with bb-cvs --- src/Screen.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Screen.cc') diff --git a/src/Screen.cc b/src/Screen.cc index e744ab4c..e0ea2137 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1070,6 +1070,13 @@ void BScreen::unmanageWindow(BlackboxWindow *w, bool remap) { removeNetizen(w->getClientWindow()); + /* + some managed windows can also be window group controllers. when + unmanaging such windows, we should also delete the window group. + */ + BWindowGroup *group = blackbox->searchGroup(w->getClientWindow()); + delete group; + delete w; } -- cgit v1.2.3