mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
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)
This commit is contained in:
parent
83a047aca7
commit
4a22fd046c
@ -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…
Reference in New Issue
Block a user