]> Dogcows Code - chaz/openbox/commitdiff
call getState() before updateTransientFor(), don't need to initialize _modal separate...
authorDana Jansens <danakj@orodu.net>
Tue, 4 Feb 2003 01:43:20 +0000 (01:43 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 4 Feb 2003 01:43:20 +0000 (01:43 +0000)
src/client.cc

index 43c35ca8de784d69e0e36c8bd41568128c9b2396..9fd1416e39d342fdf31096caeafb0ef7e2cb0930 100644 (file)
@@ -47,21 +47,19 @@ Client::Client(int screen, Window window)
   _urgent = false;
   _positioned = false;
   _disabled_decorations = 0;
-  _modal = false;
   _modal_child = 0;
   _group = None;
   _desktop = 0;
   
   getArea();
   getDesktop();
+  getState();  // do this before updateTransientFor! (for _modal)
+  getShaped();
 
   updateTransientFor();
   getMwmHints();
   getType(); // this can change the mwmhints for special cases
 
-  getState();
-  getShaped();
-
   updateProtocols();
 
   getGravity();        // get the attribute gravity
This page took 0.025039 seconds and 4 git commands to generate.