diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-04 01:43:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-04 01:43:20 +0000 |
| commit | a765df7fa67ec4346179ade2cfb8f337286c88d7 (patch) | |
| tree | d67285d60305a19f70a36cee3eae52e2269ed283 /src/client.cc | |
| parent | 4ddb8181c2e4d6a4f4108c501a838d1101f2f7a5 (diff) | |
call getState() before updateTransientFor(), don't need to initialize _modal separately then
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 6 |
1 files changed, 2 insertions, 4 deletions
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 |
