call getState() before updateTransientFor(), don't need to initialize _modal separately then
This commit is contained in:
parent
4ddb8181c2
commit
a765df7fa6
1 changed files with 2 additions and 4 deletions
|
@ -47,21 +47,19 @@ Client::Client(int screen, Window window)
|
||||||
_urgent = false;
|
_urgent = false;
|
||||||
_positioned = false;
|
_positioned = false;
|
||||||
_disabled_decorations = 0;
|
_disabled_decorations = 0;
|
||||||
_modal = false;
|
|
||||||
_modal_child = 0;
|
_modal_child = 0;
|
||||||
_group = None;
|
_group = None;
|
||||||
_desktop = 0;
|
_desktop = 0;
|
||||||
|
|
||||||
getArea();
|
getArea();
|
||||||
getDesktop();
|
getDesktop();
|
||||||
|
getState(); // do this before updateTransientFor! (for _modal)
|
||||||
|
getShaped();
|
||||||
|
|
||||||
updateTransientFor();
|
updateTransientFor();
|
||||||
getMwmHints();
|
getMwmHints();
|
||||||
getType(); // this can change the mwmhints for special cases
|
getType(); // this can change the mwmhints for special cases
|
||||||
|
|
||||||
getState();
|
|
||||||
getShaped();
|
|
||||||
|
|
||||||
updateProtocols();
|
updateProtocols();
|
||||||
|
|
||||||
getGravity(); // get the attribute gravity
|
getGravity(); // get the attribute gravity
|
||||||
|
|
Loading…
Reference in a new issue