diff options
| author | bakkeby <[email protected]> | 2021-05-19 12:33:14 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-05-19 12:33:14 +0200 |
| commit | e1f28aae25865fd109f3e20f31b101afd5a80952 (patch) | |
| tree | 1fe2e8d1155a6e3ad9ce2c8118a8a8c52ea1898f | |
| parent | 28c4d0eab28c5f1fb2095814fd93c449ca449289 (diff) | |
| download | dwm-flexipatch-e1f28aae25865fd109f3e20f31b101afd5a80952.tar.gz dwm-flexipatch-e1f28aae25865fd109f3e20f31b101afd5a80952.zip | |
vanitygaps: fix for gaps not being enabled by default when pertag is used ref. #147
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1653,11 +1653,13 @@ createmon(void) #endif // MONITOR_RULES_PATCH m->pertag->sellts[i] = m->sellt; - #if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH + #if 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 | VANITYGAPS_PATCH + #endif // PERTAG_VANITYGAPS_PATCH + #endif // VANITYGAPS_PATCH } #endif // PERTAG_PATCH #if INSETS_PATCH |
