Introduction
Introduction Statistics Contact Development Disclaimer Help
tResize now uses xclear(). - st - [fork] customized build of st, the simple ter…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit de4cd2f6afdf450aaa97abb328f4c4849602c7db
parent 1e7816c2023f48728e15cc4128ad8be163986902
Author: Christoph Lohmann <[email protected]>
Date: Sat, 13 Apr 2013 09:49:11 +0200
Resize now uses xclear().
Diffstat:
M st.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -2358,10 +2358,8 @@ xresize(int col, int row) {
XFreePixmap(xw.dpy, xw.buf);
xw.buf = XCreatePixmap(xw.dpy, xw.win, xw.w, xw.h,
DefaultDepth(xw.dpy, xw.scr));
- XSetForeground(xw.dpy, dc.gc, dc.col[IS_SET(MODE_REVERSE) ? defaultfg …
- XFillRectangle(xw.dpy, xw.buf, dc.gc, 0, 0, xw.w, xw.h);
-
XftDrawChange(xw.draw, xw.buf);
+ xclear(0, 0, xw.w, xw.h);
}
static inline ushort
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.