vanitygaps: fix for gaps not being enabled by default when pertag is used ref. #147

This commit is contained in:
bakkeby 2021-05-19 12:33:14 +02:00
parent 28c4d0eab2
commit e1f28aae25

6
dwm.c
View File

@ -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