all repos — openbox @ abbb454a29984a1d73f8bc43477768f783405bc3

openbox fork - make it a bit more like ryudo

only disallow shading when the function is not enabled, dont disallow unshading
Dana Jansens danakj@orodu.net
commit

abbb454a29984a1d73f8bc43477768f783405bc3

parent

251983186d919ea6e0c16418cf7939c02ef59afa

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -1659,7 +1659,7 @@ }

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 */