diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-17 18:22:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 18:22:41 -0400 |
| commit | ffcaf78c66026ff38663065c0fdabe57eaa0ab63 (patch) | |
| tree | 80834812d111eb6e0fb236ac4af74dcf25ca0b60 | |
| parent | 130844d49196dda439f229489b8d88f2a0355fc7 (diff) | |
| parent | 5e35458e4e97ac7f885602cb59156601426fc47c (diff) | |
Merge pull request #4 from jlaw/patch-1
fix: Normal BG color written to wrong scheme
| -rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -750,7 +750,7 @@ read_Xresources(void) { if (XrmGetResource(xdb, "dmenu.font", "*", &type, &xval) == True) /* font or font set */ fonts[0] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */ - colors[SchemeSel][ColBg] = strdup(xval.addr); + colors[SchemeNorm][ColBg] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color7", "*", &type, &xval) == True) /* normal foreground color */ colors[SchemeNorm][ColFg] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color6", "*", &type, &xval) == True) /* selected background color */ |
