X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient.cc;h=9fd1416e39d342fdf31096caeafb0ef7e2cb0930;hb=a765df7fa67ec4346179ade2cfb8f337286c88d7;hp=51c987d3a83633edb7cb39224281a66bc0b6545b;hpb=1cd253f4684ee126340fae38094b637f1b0010ea;p=chaz%2Fopenbox diff --git a/src/client.cc b/src/client.cc index 51c987d3..9fd1416e 100644 --- a/src/client.cc +++ b/src/client.cc @@ -39,33 +39,27 @@ Client::Client(int screen, Window window) // update EVERYTHING the first time!! - // we default to NormalState, visible + // defaults _wmstate = NormalState; - // start unfocused _focused = false; - // not a transient by default of course _transient_for = 0; - // pick a layer to start from _layer = Layer_Normal; - // default to not urgent _urgent = false; - // not positioned unless specified _positioned = false; - // nothing is disabled unless specified _disabled_decorations = 0; - // no modal children until they set themselves _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