summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-17 18:22:41 -0400
committerGitHub <noreply@github.com>2020-04-17 18:22:41 -0400
commitffcaf78c66026ff38663065c0fdabe57eaa0ab63 (patch)
tree80834812d111eb6e0fb236ac4af74dcf25ca0b60
parent130844d49196dda439f229489b8d88f2a0355fc7 (diff)
parent5e35458e4e97ac7f885602cb59156601426fc47c (diff)
Merge pull request #4 from jlaw/patch-1
fix: Normal BG color written to wrong scheme
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 920fa52..2bd69c2 100644
--- a/dmenu.c
+++ b/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 */