Fixing the reverse mode of st colors.
authorChristoph Lohmann <20h@r-36.net>
Tue, 19 Feb 2013 14:51:25 +0000 (15:51 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 19 Feb 2013 14:51:25 +0000 (15:51 +0100)
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!

st.c

diff --git a/st.c b/st.c
index 64366af..8320695 100644 (file)
--- a/st.c
+++ b/st.c
@@ -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++) {