summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-05-19 17:41:25 +0200
committerbakkeby <[email protected]>2021-05-19 17:41:25 +0200
commit9a0fb6c83b4b830f84f3c1294bd89a3023b69c70 (patch)
treedda65be37699fe39516f9ab1c1de388304d1de99 /dwm.c
parente1f28aae25865fd109f3e20f31b101afd5a80952 (diff)
downloaddwm-flexipatch-9a0fb6c83b4b830f84f3c1294bd89a3023b69c70.tar.gz
dwm-flexipatch-9a0fb6c83b4b830f84f3c1294bd89a3023b69c70.zip
vanitygaps: PERTAG_VANITYGAPS_PATCH to control both gaps and whether gaps are enabled per tag ref. #147
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c
index 672c03a..246b2ef 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1653,13 +1653,11 @@ createmon(void)
#endif // MONITOR_RULES_PATCH
m->pertag->sellts[i] = m->sellt;
- #if VANITYGAPS_PATCH
+ #if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH
m->pertag->enablegaps[i] = 1;
- #if PERTAG_VANITYGAPS_PATCH
m->pertag->gaps[i] =
((gappoh & 0xFF) << 0) | ((gappov & 0xFF) << 8) | ((gappih & 0xFF) << 16) | ((gappiv & 0xFF) << 24);
- #endif // PERTAG_VANITYGAPS_PATCH
- #endif // VANITYGAPS_PATCH
+ #endif // PERTAG_VANITYGAPS_PATCH | VANITYGAPS_PATCH
}
#endif // PERTAG_PATCH
#if INSETS_PATCH