summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-05-06 11:05:48 +0200
committerbakkeby <[email protected]>2021-05-06 11:05:48 +0200
commit9edce6b60686450a875f59a700df84aac377dbf6 (patch)
treed29bc5b32d7858d00c9ef3e5d776b138e0467858 /dwm.c
parentdf9533f1eb6cbfe289d6bcdb4874ac4e2dea8cd8 (diff)
downloaddwm-flexipatch-9edce6b60686450a875f59a700df84aac377dbf6.tar.gz
dwm-flexipatch-9edce6b60686450a875f59a700df84aac377dbf6.zip
scratchpad_alt_1: upgrading and simplifying patch ref. #124
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 73cafaf..9fb979f 100644
--- a/dwm.c
+++ b/dwm.c
@@ -4155,6 +4155,11 @@ unmanage(Client *c, int destroyed)
}
#endif // XKB_PATCH
+ #if SCRATCHPAD_ALT_1_PATCH
+ if (scratchpad_last_showed == c)
+ scratchpad_last_showed = NULL;
+ #endif // SCRATCHPAD_ALT_1_PATCH
+
free(c);
#if SWALLOW_PATCH
if (s)