X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.cc;h=27d89c077e7f0be41268cf0c579d94843d7d8696;hb=312db4ca9ac0b3b488236404230e13e24d01d40a;hp=f12e643ac22196cfcffd6b63bae0cc340cf280ac;hpb=bb5a07b3e1d5b2fc3f37e5261c8867bb05814041;p=chaz%2Fopenbox diff --git a/src/client.cc b/src/client.cc index f12e643a..27d89c07 100644 --- a/src/client.cc +++ b/src/client.cc @@ -170,7 +170,7 @@ void Client::setupDecorAndFunctions() { // start with everything (cept fullscreen) _decorations = Decor_Titlebar | Decor_Handle | Decor_Border | - Decor_Iconify | Decor_Maximize; + Decor_AllDesktops | Decor_Iconify | Decor_Maximize; _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize | Func_Shade; @@ -655,6 +655,8 @@ void Client::setDesktop(long target) frame->show(); else frame->hide(); + + frame->adjustState(); } @@ -1072,6 +1074,9 @@ void Client::changeState() otk::Property::atoms.atom, netstate, num); calcLayer(); + + if (frame) + frame->adjustState(); }