diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -3491,12 +3491,9 @@ drawregion(int x1, int y1, int x2, int y2) { | |||
| 3491 | int ic, ib, x, y, ox, sl; | 3491 | int ic, ib, x, y, ox, sl; |
| 3492 | Glyph base, new; | 3492 | Glyph base, new; |
| 3493 | char buf[DRAW_BUF_SIZ]; | 3493 | char buf[DRAW_BUF_SIZ]; |
| 3494 | bool ena_sel = sel.ob.x != -1; | 3494 | bool ena_sel = sel.ob.x != -1 && sel.alt == IS_SET(MODE_ALTSCREEN); |
| 3495 | long unicodep; | 3495 | long unicodep; |
| 3496 | 3496 | ||
| 3497 | if(sel.alt != IS_SET(MODE_ALTSCREEN)) | ||
| 3498 | ena_sel = 0; | ||
| 3499 | |||
| 3500 | if(!(xw.state & WIN_VISIBLE)) | 3497 | if(!(xw.state & WIN_VISIBLE)) |
| 3501 | return; | 3498 | return; |
| 3502 | 3499 | ||
