summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index 7974629..d2f8c2e 100644
--- a/st.c
+++ b/st.c
@@ -1321,8 +1321,7 @@ draw(int redraw_all) {
1321 Glyph base, new; 1321 Glyph base, new;
1322 char buf[DRAW_BUF_SIZ]; 1322 char buf[DRAW_BUF_SIZ];
1323 1323
1324 XSetForeground(xw.dis, dc.gc, dc.col[DefaultBG]); 1324 xclear(0, 0, term.col-1, term.row-1);
1325 XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.bufw, xw.bufh);
1326 for(y = 0; y < term.row; y++) { 1325 for(y = 0; y < term.row; y++) {
1327 base = term.line[y][0]; 1326 base = term.line[y][0];
1328 i = ox = 0; 1327 i = ox = 0;