tFixing the reverse mode of st colors. - st - [fork] customized build of st, th… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7f297e297ccec99a66b7af46e2b1725545ba3746 | |
parent f4a6c20f464df79a9b15b4a2a11daaa7a06c60a0 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 19 Feb 2013 15:51:25 +0100 | |
Fixing the reverse mode of st colors. | |
Thanks Alexander Sedov <[email protected]> for finding this! | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -2288,7 +2288,7 @@ xresize(int col, int row) { | |
void | |
xloadcols(void) { | |
int i, r, g, b; | |
- XRenderColor color = { .alpha = 0 }; | |
+ XRenderColor color = { .alpha = 0xffff }; | |
/* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */ | |
for(i = 0; i < LEN(colorname); i++) { |