scratchpad_alt_1: upgrading and simplifying patch ref. #124

This commit is contained in:
bakkeby
2021-05-06 11:05:48 +02:00
parent df9533f1eb
commit 9edce6b606
3 changed files with 52 additions and 68 deletions

5
dwm.c
View File

@@ -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)