summaryrefslogtreecommitdiffhomepage
path: root/patch/scratchpad_alt_1.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-06-05 09:43:27 +0200
committerbakkeby <[email protected]>2020-06-05 09:43:27 +0200
commitbad53d2cc4b0aaff997c2b6d646eef2c173afaf0 (patch)
tree32814c5599c58b61cc5fdeb3f863dfecdf8f7110 /patch/scratchpad_alt_1.h
parentfbb1537da651b21da139d2023bdff27829c1925d (diff)
downloaddwm-flexipatch-bad53d2cc4b0aaff997c2b6d646eef2c173afaf0.tar.gz
dwm-flexipatch-bad53d2cc4b0aaff997c2b6d646eef2c173afaf0.zip
Upgrading Gaspar Vardanyan's scratchpad patch to the 20200510 version.
https://github.com/GasparVardanyan/dwm-scratchpad/blob/master/dwm-scratchpad-20200510-f09418b.diff
Diffstat (limited to 'patch/scratchpad_alt_1.h')
-rw-r--r--patch/scratchpad_alt_1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/patch/scratchpad_alt_1.h b/patch/scratchpad_alt_1.h
index 4bbbf9b..6248c88 100644
--- a/patch/scratchpad_alt_1.h
+++ b/patch/scratchpad_alt_1.h
@@ -1,3 +1,5 @@
+# define SCRATCHPAD_MASK (1u << sizeof tags / sizeof * tags)
+
static void scratchpad_hide ();
static _Bool scratchpad_last_showed_is_killed (void);
static void scratchpad_remove ();