diff options
| author | bakkeby <[email protected]> | 2020-09-10 11:57:01 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-10 11:57:01 +0200 |
| commit | f4a6866e8c281bf9098d167fa6032e2eb19b87cd (patch) | |
| tree | 83069943b37d7404f4258fe343faa1ded37d6a4c | |
| parent | 4fd42ec164733cf1fded577053aa6bebde932efc (diff) | |
| download | dwm-flexipatch-f4a6866e8c281bf9098d167fa6032e2eb19b87cd.tar.gz dwm-flexipatch-f4a6866e8c281bf9098d167fa6032e2eb19b87cd.zip | |
barmodules: skip if widthfunc is NULL
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1587,7 +1587,7 @@ drawbarwin(Bar *bar) drw_rect(drw, lx, bar->borderpx, lw, bar->bh - 2 * bar->borderpx, 1, 1); for (r = 0; r < LENGTH(barrules); r++) { br = &barrules[r]; - if (br->bar != bar->idx || !bar->widthfunc || (br->monitor == 'A' && bar->mon != selmon)) + if (br->bar != bar->idx || !br->widthfunc || (br->monitor == 'A' && bar->mon != selmon)) continue; if (br->monitor != 'A' && br->monitor != -1 && br->monitor != bar->mon->index) continue; |
