From dd1660b1ed3b60b46cc20ad38b082d07f0f2cc96 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 2 Oct 2023 09:51:34 +0200 Subject: [PATCH] renamed scratchpads: auto-unhide a minimised (icon state) scratchpad when toggled --- patch/renamed_scratchpads.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patch/renamed_scratchpads.c b/patch/renamed_scratchpads.c index db99723..3bc9bb0 100644 --- a/patch/renamed_scratchpads.c +++ b/patch/renamed_scratchpads.c @@ -66,12 +66,13 @@ togglescratch(const Arg *arg) if (c->scratchkey != ((char**)arg->v)[0][0]) continue; - /* awesomebar / wintitleactions compatibility, unhide scratchpad if hidden + #if BAR_WINTITLEACTIONS_PATCH + /* unhide scratchpad if hidden */ if (HIDDEN(c)) { XMapWindow(dpy, c->win); setclientstate(c, NormalState); } - */ + #endif // BAR_WINTITLEACTIONS_PATCH /* Record the first found scratchpad client for focus purposes, but prioritise the scratchpad on the current monitor if one exists */