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. (#385)

pull/388/head
Songli Yu 6 months ago committed by GitHub
parent 83a047aca7
commit 4a22fd046c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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