Fix when only one client in a tag and click it to hide it, then click it one more time, the client will not show as expected.

pull/385/head
ysl2 7 months ago
parent 83a047aca7
commit 41ae62ff3f

@ -51,7 +51,7 @@ togglewin(const Arg *arg)
Client *c = (Client*)arg->v;
if (!c)
return;
if (c == selmon->sel)
if (!HIDDEN(c) && c == selmon->sel)
hide(c);
else {
if (HIDDEN(c))

Loading…
Cancel
Save