all repos — openbox @ a765df7fa67ec4346179ade2cfb8f337286c88d7

openbox fork - make it a bit more like ryudo

call getState() before updateTransientFor(), don't need to initialize _modal separately then
Dana Jansens danakj@orodu.net
commit

a765df7fa67ec4346179ade2cfb8f337286c88d7

parent

4ddb8181c2e4d6a4f4108c501a838d1101f2f7a5

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M src/client.ccsrc/client.cc

@@ -47,20 +47,18 @@ _layer = Layer_Normal;

_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();