From abbb454a29984a1d73f8bc43477768f783405bc3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 31 Mar 2003 20:24:56 +0000 Subject: [PATCH] only disallow shading when the function is not enabled, dont disallow unshading --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 5881cac6..8f219193 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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 */ -- 2.45.2