From: Dana Jansens Date: Tue, 4 Feb 2003 01:43:20 +0000 (+0000) Subject: call getState() before updateTransientFor(), don't need to initialize _modal separate... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a765df7fa67ec4346179ade2cfb8f337286c88d7;p=chaz%2Fopenbox call getState() before updateTransientFor(), don't need to initialize _modal separately then --- diff --git a/src/client.cc b/src/client.cc index 43c35ca8..9fd1416e 100644 --- a/src/client.cc +++ b/src/client.cc @@ -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