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 8 months ago
parent 83a047aca7
commit 41ae62ff3f

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

Loading…
Cancel
Save