tFixing the reverse mode of st colors. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7f297e297ccec99a66b7af46e2b1725545ba3746
(DIR) parent f4a6c20f464df79a9b15b4a2a11daaa7a06c60a0
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 19 Feb 2013 15:51:25 +0100
Fixing the reverse mode of st colors.
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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++) {