Introduction
Introduction Statistics Contact Development Disclaimer Help
tuse xclear() in draw(). - st - [fork] customized build of st, the simple termi…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit f693476365c9383ac83420319dd69372c55f9f50
parent 8c3757986a41ff8fa95b175be40f67d67d7e27b1
Author: AurĂ©lien Aptel <[email protected]>
Date: Sat, 11 Sep 2010 16:01:41 +0200
use xclear() in draw().
Diffstat:
M st.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -1321,8 +1321,7 @@ draw(int redraw_all) {
Glyph base, new;
char buf[DRAW_BUF_SIZ];
- XSetForeground(xw.dis, dc.gc, dc.col[DefaultBG]);
- XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.bufw, xw.bufh);
+ xclear(0, 0, term.col-1, term.row-1);
for(y = 0; y < term.row; y++) {
base = term.line[y][0];
i = ox = 0;
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.