summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-28 17:48:49 +0200
committerbakkeby <[email protected]>2020-09-28 17:48:49 +0200
commit795fcc3b51ad2ca84736d7931437e9cffe086832 (patch)
treeba8b40d13a4df43e5d2e0ea351f5b87301385970 /config.def.h
parent8726ae0aa94f711887cd25bc8c159f8027d59839 (diff)
downloaddwm-flexipatch-795fcc3b51ad2ca84736d7931437e9cffe086832.tar.gz
dwm-flexipatch-795fcc3b51ad2ca84736d7931437e9cffe086832.zip
scratchpads: when the scratchpad patch is added, the tagmask is altered, so to get a window onto all tags you have to do ~SPTAGSMASK instead of ~0 as otherwise it will interfere with the scratchpads, ref. #53
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 839ac26..ff93493 100644
--- a/config.def.h
+++ b/config.def.h
@@ -920,6 +920,9 @@ static Key keys[] = {
{ MODKEY, XK_minus, scratchpad_show, {0} },
{ MODKEY|ShiftMask, XK_minus, scratchpad_hide, {0} },
{ MODKEY, XK_equal, scratchpad_remove, {0} },
+ #elif SCRATCHPADS_PATCH
+ { MODKEY, XK_0, view, {.ui = ~SPTAGMASK } },
+ { MODKEY|ShiftMask, XK_0, tag, {.ui = ~SPTAGMASK } },
#else
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },