]> Dogcows Code - chaz/openbox/commitdiff
put !normal windows in the general client list too
authorDana Jansens <danakj@orodu.net>
Sat, 24 Aug 2002 20:54:24 +0000 (20:54 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 24 Aug 2002 20:54:24 +0000 (20:54 +0000)
src/Screen.cc

index 6d95edbda59a874c5fa68f2e228bc169acca35e1..1c9c347b7e44396f9a571aef0b04b1eb8cb8fa5b 100644 (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();
This page took 0.023129 seconds and 4 git commands to generate.