]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
make the 'toggle all desktops' button work
[chaz/openbox] / src / client.cc
index 4f6fe4a21e3006a115528b5e92a04e4761c315d3..54afbc9a6d4d0cecf96491c43ec8c701d78a6685 100644 (file)
@@ -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.019802 seconds and 4 git commands to generate.