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