Introduction
Introduction Statistics Contact Development Disclaimer Help
tCompute ena_sel as one expression. - st - [fork] customized build of st, the s…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 17fa1493ee0d8c53c63b3c8d1325ee38fd3192e1
parent a8a9e66a7d481c66bd9680ff0670c322bedd7ca7
Author: noname <[email protected]>
Date: Sun, 27 Apr 2014 15:39:29 +0400
Compute ena_sel as one expression.
Diffstat:
M st.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -3491,12 +3491,9 @@ drawregion(int x1, int y1, int x2, int y2) {
int ic, ib, x, y, ox, sl;
Glyph base, new;
char buf[DRAW_BUF_SIZ];
- bool ena_sel = sel.ob.x != -1;
+ bool ena_sel = sel.ob.x != -1 && sel.alt == IS_SET(MODE_ALTSCREEN);
long unicodep;
- if(sel.alt != IS_SET(MODE_ALTSCREEN))
- ena_sel = 0;
-
if(!(xw.state & WIN_VISIBLE))
return;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.