]> Dogcows Code - chaz/openbox/commitdiff
initialize _modal, its used before the window's type is checked
authorDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 22:35:07 +0000 (22:35 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 22:35:07 +0000 (22:35 +0000)
src/client.cc

index 51c987d3a83633edb7cb39224281a66bc0b6545b..43c35ca8de784d69e0e36c8bd41568128c9b2396 100644 (file)
@@ -39,22 +39,18 @@ Client::Client(int screen, Window window)
   
   // update EVERYTHING the first time!!
 
-  // we default to NormalState, visible
+  // defaults
   _wmstate = NormalState;
-  // start unfocused
   _focused = false;
-  // not a transient by default of course
   _transient_for = 0;
-  // pick a layer to start from
   _layer = Layer_Normal;
-  // default to not urgent
   _urgent = false;
-  // not positioned unless specified
   _positioned = false;
-  // nothing is disabled unless specified
   _disabled_decorations = 0;
-  // no modal children until they set themselves
+  _modal = false;
   _modal_child = 0;
+  _group = None;
+  _desktop = 0;
   
   getArea();
   getDesktop();
This page took 0.028276 seconds and 4 git commands to generate.