aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/st.c b/st.c
index 0536b6f..2473af7 100644
--- a/st.c
+++ b/st.c
@@ -439,7 +439,6 @@ static void xresettitle(void);
439static void xsetpointermotion(int); 439static void xsetpointermotion(int);
440static void xseturgency(int); 440static void xseturgency(int);
441static void xsetsel(char *, Time); 441static void xsetsel(char *, Time);
442static void xtermclear(int, int, int, int);
443static void xunloadfont(Font *); 442static void xunloadfont(Font *);
444static void xunloadfonts(void); 443static void xunloadfonts(void);
445static void xresize(int, int); 444static void xresize(int, int);
@@ -3213,17 +3212,6 @@ xsetcolorname(int x, const char *name)
3213 return 0; 3212 return 0;
3214} 3213}
3215 3214
3216void
3217xtermclear(int col1, int row1, int col2, int row2)
3218{
3219 XftDrawRect(xw.draw,
3220 &dc.col[IS_SET(MODE_REVERSE) ? defaultfg : defaultbg],
3221 borderpx + col1 * xw.cw,
3222 borderpx + row1 * xw.ch,
3223 (col2-col1+1) * xw.cw,
3224 (row2-row1+1) * xw.ch);
3225}
3226
3227/* 3215/*
3228 * Absolute coordinates. 3216 * Absolute coordinates.
3229 */ 3217 */
@@ -3983,7 +3971,6 @@ drawregion(int x1, int y1, int x2, int y2)
3983 if (!term.dirty[y]) 3971 if (!term.dirty[y])
3984 continue; 3972 continue;
3985 3973
3986 xtermclear(0, y, term.col, y);
3987 term.dirty[y] = 0; 3974 term.dirty[y] = 0;
3988 3975
3989 specs = term.specbuf; 3976 specs = term.specbuf;