Merge pull request #4 from jlaw/patch-1
fix: Normal BG color written to wrong scheme
This commit is contained in:
commit
ffcaf78c66
1 changed files with 1 additions and 1 deletions
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 */
|
if (XrmGetResource(xdb, "dmenu.font", "*", &type, &xval) == True) /* font or font set */
|
||||||
fonts[0] = strdup(xval.addr);
|
fonts[0] = strdup(xval.addr);
|
||||||
if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */
|
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 */
|
if (XrmGetResource(xdb, "dmenu.color7", "*", &type, &xval) == True) /* normal foreground color */
|
||||||
colors[SchemeNorm][ColFg] = strdup(xval.addr);
|
colors[SchemeNorm][ColFg] = strdup(xval.addr);
|
||||||
if (XrmGetResource(xdb, "dmenu.color6", "*", &type, &xval) == True) /* selected background color */
|
if (XrmGetResource(xdb, "dmenu.color6", "*", &type, &xval) == True) /* selected background color */
|
||||||
|
|
Loading…
Reference in a new issue