]> Dogcows Code - chaz/openbox/commitdiff
set a workspace and window number even for !normal windows
authorDana Jansens <danakj@orodu.net>
Wed, 21 Aug 2002 06:35:29 +0000 (06:35 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 21 Aug 2002 06:35:29 +0000 (06:35 +0000)
src/Workspace.cc

index 97a7ee732a1a2de7163e68a810d6d42a1a0a4e4d..1cb40b390b61620ba124a5c6caae99c64e630052 100644 (file)
@@ -110,6 +110,11 @@ void Workspace::addWindow(BlackboxWindow *w, bool place, bool sticky) {
         lastfocus = w;
       }
     }
+  } else {
+    w->setWorkspace(id);
+    // just give it some number, else bad things happen as it is assumed to not
+    // be on a workspace
+    w->setWindowNumber(0);
   }
 
   if (! w->isDesktop())
This page took 0.026437 seconds and 4 git commands to generate.