mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
vanitygaps: fix for gaps not being enabled by default when pertag is used ref. #147
This commit is contained in:
parent
28c4d0eab2
commit
e1f28aae25
6
dwm.c
6
dwm.c
@ -1653,11 +1653,13 @@ createmon(void)
|
|||||||
#endif // MONITOR_RULES_PATCH
|
#endif // MONITOR_RULES_PATCH
|
||||||
m->pertag->sellts[i] = m->sellt;
|
m->pertag->sellts[i] = m->sellt;
|
||||||
|
|
||||||
#if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH
|
#if VANITYGAPS_PATCH
|
||||||
m->pertag->enablegaps[i] = 1;
|
m->pertag->enablegaps[i] = 1;
|
||||||
|
#if PERTAG_VANITYGAPS_PATCH
|
||||||
m->pertag->gaps[i] =
|
m->pertag->gaps[i] =
|
||||||
((gappoh & 0xFF) << 0) | ((gappov & 0xFF) << 8) | ((gappih & 0xFF) << 16) | ((gappiv & 0xFF) << 24);
|
((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
|
#endif // PERTAG_PATCH
|
||||||
#if INSETS_PATCH
|
#if INSETS_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user