Fix color scheme editing on smiley with Xresources - svkbd - simple virtual key… | |
git clone git://git.suckless.org/svkbd | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 5dd14703ed5852639868eaa42c13e8cc9aabf56c | |
parent 4061bacc1d235591c553bb1ba8a0d8b116a12b4b | |
Author: Justin Torres <[email protected]> | |
Date: Fri, 8 Oct 2021 21:38:22 +0200 | |
Fix color scheme editing on smiley with Xresources | |
Fixes a small oversight that was preventing the colors of the smiley on q from … | |
Signed-off-by: Maarten van Gompel <[email protected]> | |
Diffstat: | |
M svkbd.c | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/svkbd.c b/svkbd.c | |
@@ -752,10 +752,10 @@ readxresources(void) | |
if (XrmGetResource(xdb, "svkbd.ABCbackground", "*", &type, &xv… | |
colors[SchemeNormABC][ColBg] = estrdup(xval.addr); | |
- if (XrmGetResource(xdb, "svkbd.ABCshiftforeground", "*", &type… | |
- colors[SchemeNormShift][ColFg] = estrdup(xval.addr); | |
- if (XrmGetResource(xdb, "svkbd.ABCshiftbackground", "*", &type… | |
- colors[SchemeNormShift][ColBg] = estrdup(xval.addr); | |
+ if (XrmGetResource(xdb, "svkbd.ABCshiftforeground", "*", &type… | |
+ colors[SchemeNormABCShift][ColFg] = estrdup(xval.addr); | |
+ if (XrmGetResource(xdb, "svkbd.ABCshiftbackground", "*", &type… | |
+ colors[SchemeNormABCShift][ColBg] = estrdup(xval.addr); | |
if (XrmGetResource(xdb, "svkbd.pressbackground", "*", &type, &… | |
colors[SchemePress][ColBg] = estrdup(xval.addr); |