Initialise gaps for pertag arrays when monitor is created ref. #106
This commit is contained in:
6
dwm.c
6
dwm.c
@ -1608,9 +1608,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;
|
||||
#endif // 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_PATCH
|
||||
#if INSETS_PATCH
|
||||
|
Reference in New Issue
Block a user