From 4a22fd046cdeb53899eb23f81607287244dcdfdb Mon Sep 17 00:00:00 2001 From: Songli Yu <1097985743@qq.com> Date: Mon, 6 Nov 2023 05:07:43 +0800 Subject: [PATCH] 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) --- patch/bar_wintitleactions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/bar_wintitleactions.c b/patch/bar_wintitleactions.c index 61a5d21..36a06fb 100644 --- a/patch/bar_wintitleactions.c +++ b/patch/bar_wintitleactions.c @@ -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))