projects
/
suckless
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c37579
)
use xclear() in draw().
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sat, 11 Sep 2010 14:01:41 +0000
(16:01 +0200)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sat, 11 Sep 2010 14:01:41 +0000
(16:01 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index 79746297e62f71f0061aefc06428d7df0a33a20d..d2f8c2e1f7aa65083fd79ea2f52e1788ce0ae54e 100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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;