put !normal windows in the general client list too

This commit is contained in:
Dana Jansens 2002-08-24 20:54:24 +00:00
parent 82bf5b555f
commit 23e92e110e

View file

@ -1397,7 +1397,7 @@ void BScreen::manageWindow(Window w) {
if (win->isDesktop()) {
desktopWindowList.push_back(win->getFrameWindow());
} else if (win->isNormal()) {
} else { // if (win->isNormal()) {
// don't list desktop windows as managed windows
windowList.push_back(win);
updateClientList();
@ -1448,7 +1448,7 @@ void BScreen::unmanageWindow(BlackboxWindow *w, bool remap) {
break;
}
assert(it != end); // the window wasnt a desktop window?
} else if (w->isNormal()) {
} else { // if (w->isNormal()) {
// we don't list desktop windows as managed windows
windowList.remove(w);
updateClientList();