From b6cf35009859dc44c5e40ae050c08f9c4647a06a Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 28 Sep 2020 18:00:37 +0200 Subject: [PATCH] Added note about ~SPTAGMASK in patches.def.h ref. #53 --- patches.def.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patches.def.h b/patches.def.h index 5d54f8e..916d971 100644 --- a/patches.def.h +++ b/patches.def.h @@ -766,6 +766,11 @@ /* The scratchpad patch allows you to spawn or restore floating terminal windows. * It is typically useful when one need to do some short typing. + * + * Note that this patch changes TAGMASK to make room for special scratchpad tags, + * so ~0 does more than select all tags with this patch. Code that relies on ~0 to + * represent all tags should use ~SPTAGMASK instead. + * * Upgraded to Christian Tenllado's multiple scratchpad version. * https://lists.suckless.org/hackers/2004/17205.html * https://dwm.suckless.org/patches/scratchpads/