Resize now uses xclear().

dev
Christoph Lohmann 2013-04-13 09:49:11 +02:00
parent 1e7816c202
commit de4cd2f6af
1 changed files with 1 additions and 3 deletions

4
st.c
View File

@ -2358,10 +2358,8 @@ xresize(int col, int row) {
XFreePixmap(xw.dpy, xw.buf); XFreePixmap(xw.dpy, xw.buf);
xw.buf = XCreatePixmap(xw.dpy, xw.win, xw.w, xw.h, xw.buf = XCreatePixmap(xw.dpy, xw.win, xw.w, xw.h,
DefaultDepth(xw.dpy, xw.scr)); DefaultDepth(xw.dpy, xw.scr));
XSetForeground(xw.dpy, dc.gc, dc.col[IS_SET(MODE_REVERSE) ? defaultfg : defaultbg].pixel);
XFillRectangle(xw.dpy, xw.buf, dc.gc, 0, 0, xw.w, xw.h);
XftDrawChange(xw.draw, xw.buf); XftDrawChange(xw.draw, xw.buf);
xclear(0, 0, xw.w, xw.h);
} }
static inline ushort static inline ushort