diff options
author | Christoph Lohmann <20h@r-36.net> | 2016-03-07 14:33:05 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2016-03-07 14:33:05 +0100 |
commit | 30440295bc054f37a2a8275acca769cd83bcb780 (patch) | |
tree | 3ef9d6ad601f93a2e98be90b15c281e130e5cca4 /st.c | |
parent | 4fdba860c8db70035e9749806ecc6ca2d7c418d0 (diff) | |
download | st-30440295bc054f37a2a8275acca769cd83bcb780.tar.gz st-30440295bc054f37a2a8275acca769cd83bcb780.tar.bz2 |
xtermclear() is now done by xdrawglyphfontspecs()
Thanks Ton van den Heuvel for the proposal!
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -439,7 +439,6 @@ static void xresettitle(void); static void xsetpointermotion(int); static void xseturgency(int); static void xsetsel(char *, Time); -static void xtermclear(int, int, int, int); static void xunloadfont(Font *); static void xunloadfonts(void); static void xresize(int, int); @@ -3213,17 +3212,6 @@ xsetcolorname(int x, const char *name) return 0; } -void -xtermclear(int col1, int row1, int col2, int row2) -{ - XftDrawRect(xw.draw, - &dc.col[IS_SET(MODE_REVERSE) ? defaultfg : defaultbg], - borderpx + col1 * xw.cw, - borderpx + row1 * xw.ch, - (col2-col1+1) * xw.cw, - (row2-row1+1) * xw.ch); -} - /* * Absolute coordinates. */ @@ -3983,7 +3971,6 @@ drawregion(int x1, int y1, int x2, int y2) if (!term.dirty[y]) continue; - xtermclear(0, y, term.col, y); term.dirty[y] = 0; specs = term.specbuf; |