summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2013-02-19 15:51:25 +0100
committerChristoph Lohmann2013-02-19 15:51:25 +0100
commit7f297e297ccec99a66b7af46e2b1725545ba3746 (patch)
treeb6de81834a088be2e9f4212f37328fedf5f42372
parentf4a6c20f464df79a9b15b4a2a11daaa7a06c60a0 (diff)
downloadst-7f297e297ccec99a66b7af46e2b1725545ba3746.tar.gz
st-7f297e297ccec99a66b7af46e2b1725545ba3746.tar.xz
st-7f297e297ccec99a66b7af46e2b1725545ba3746.zip
Fixing the reverse mode of st colors.
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 64366af..8320695 100644
--- 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++) {