[hackers] [st] Fixing the reverse mode of st colors. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Tue, 19 Feb 2013 15:53:48 +0100

commit 7f297e297ccec99a66b7af46e2b1725545ba3746
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Feb 19 15:51:25 2013 +0100

    Fixing the reverse mode of st colors.
    
    Thanks Alexander Sedov <alex0player_AT_gmail.com> for finding this!

diff --git a/st.c b/st.c
index 64366af..8320695 100644
--- a/st.c
+++ b/st.c
_AT_@ -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++) {
Received on Tue Feb 19 2013 - 15:53:48 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 21 2013 - 19:27:08 CET