Skip to content

Commit

Permalink
Fix when only one client in a tag and click it to hide it, then click…
Browse files Browse the repository at this point in the history
… it one more time, the client will not show as expected. (#385)
  • Loading branch information
ysl2 authored Nov 5, 2023
1 parent 83a047a commit 4a22fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch/bar_wintitleactions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 4a22fd0

Please sign in to comment.