diff options
| author | bakkeby <[email protected]> | 2021-04-05 08:14:27 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-04-05 08:14:27 +0200 |
| commit | 39df1ca4ada8374da4b0c3f29ee8d284f1a95752 (patch) | |
| tree | 6f6e842f73bea20876860f15e0ac1b4983006202 /dwm.c | |
| parent | 521f87af13006ae548f6e3a668a303a792255338 (diff) | |
| download | dwm-flexipatch-39df1ca4ada8374da4b0c3f29ee8d284f1a95752.tar.gz dwm-flexipatch-39df1ca4ada8374da4b0c3f29ee8d284f1a95752.zip | |
Initialise gaps for pertag arrays when monitor is created ref. #106
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
