about summary refs log tree commit diff stats
diff options
context:
space:
mode:
author2020-04-17 14:36:42 -0700
committer2020-04-17 14:36:42 -0700
commit5e35458e4e97ac7f885602cb59156601426fc47c (patch)
tree80834812d111eb6e0fb236ac4af74dcf25ca0b60
parent130844d49196dda439f229489b8d88f2a0355fc7 (diff)
downloaddmenu-5e35458e4e97ac7f885602cb59156601426fc47c.tar.gz
-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 */