changeset: 146:e8c71d47ca56
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Sat Sep 11 16:01:41 2010 +0200
files: st.c
description:
use xclear() in draw().
diff -r 21a38da21a54 -r e8c71d47ca56 st.c
--- a/st.c Sat Sep 11 15:59:54 2010 +0200
+++ b/st.c Sat Sep 11 16:01:41 2010 +0200
@@ -1321,8 +1321,7 @@
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;
Received on Sun Sep 12 2010 - 20:16:18 CEST
This archive was generated by hypermail 2.2.0 : Sun Sep 12 2010 - 20:24:03 CEST