]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
add some current states
[chaz/openbox] / openbox / client.c
index 5881cac651341efeedaa93084d230e20662852a3..8f219193ef6fe008fc76683f6029f7b78b78b046 100644 (file)
@@ -1659,7 +1659,7 @@ void client_maximize(Client *self, gboolean max, int dir, gboolean savearea)
 
 void client_shade(Client *self, gboolean shade)
 {
-    if (!(self->functions & Func_Shade) || /* can't */
+    if ((!(self->functions & Func_Shade) && shade) || /* can't shade */
        self->shaded == shade) return;     /* already done */
 
     /* when we're iconic, don't change the wmstate */
This page took 0.021094 seconds and 4 git commands to generate.