[hackers] [st] Fix the cursor colors selection || Quentin Rameau
commit 293f573efd8c1c9cddd319caa7564736aa60639a
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Oct 6 10:29:44 2015 +0200
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Tue Oct 6 17:36:02 2015 +0200
Fix the cursor colors selection
Signed-off-by: Christoph Lohmann <20h_AT_r-36.net>
diff --git a/st.c b/st.c
index e885a7d..01d4410 100644
--- a/st.c
+++ b/st.c
_AT_@ -3865,13 +3865,12 @@ xdrawcursor(void)
g.fg = defaultcs;
}
} else {
- g.fg = defaultfg;
if (ena_sel && selected(term.c.x, term.c.y)) {
- g.bg = defaultcs;
drawcol = dc.col[defaultrcs];
+ g.fg = defaultfg;
+ g.bg = defaultrcs;
} else {
drawcol = dc.col[defaultcs];
- g.bg = defaultrcs;
}
}
Received on Tue Oct 06 2015 - 17:37:02 CEST
This archive was generated by hypermail 2.3.0
: Tue Oct 06 2015 - 17:48:10 CEST