Merge pull request #4 from jlaw/patch-1
fix: Normal BG color written to wrong scheme
This commit is contained in:
commit
ffcaf78c66
2
dmenu.c
2
dmenu.c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user