From c752c70fa3eaed9f88e9db44b590a66af19231d2 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 30 May 2022 08:02:26 +0530 Subject: fix bright background color on xresource reload making the text unreadable --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index d3c8737..8d4eb60 100644 --- a/config.def.h +++ b/config.def.h @@ -136,7 +136,7 @@ static const char *colorname[] = { * foreground, background, cursor */ unsigned int defaultfg = 257; -unsigned int defaultbg = 256; +unsigned int defaultbg = 0; static unsigned int defaultcs = 257; static unsigned int defaultrcs = 257; @@ -204,7 +204,7 @@ ResourcePref resources[] = { { "color13", STRING, &colorname[13] }, { "color14", STRING, &colorname[14] }, { "color15", STRING, &colorname[15] }, - { "background", STRING, &colorname[256] }, + { "background", STRING, &colorname[0] }, { "foreground", STRING, &colorname[257] }, { "cursorColor", STRING, &colorname[258] }, { "termname", STRING, &termname }, -- cgit v1.2.3