]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
Added bevels
[chaz/openbox] / src / client.cc
index f12e643ac22196cfcffd6b63bae0cc340cf280ac..27d89c077e7f0be41268cf0c579d94843d7d8696 100644 (file)
@@ -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();
 }
 
 
This page took 0.022485 seconds and 4 git commands to generate.