diff options
-rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2358,10 +2358,8 @@ xresize(int col, int row) { | |||
2358 | XFreePixmap(xw.dpy, xw.buf); | 2358 | XFreePixmap(xw.dpy, xw.buf); |
2359 | xw.buf = XCreatePixmap(xw.dpy, xw.win, xw.w, xw.h, | 2359 | xw.buf = XCreatePixmap(xw.dpy, xw.win, xw.w, xw.h, |
2360 | DefaultDepth(xw.dpy, xw.scr)); | 2360 | DefaultDepth(xw.dpy, xw.scr)); |
2361 | XSetForeground(xw.dpy, dc.gc, dc.col[IS_SET(MODE_REVERSE) ? defaultfg : defaultbg].pixel); | ||
2362 | XFillRectangle(xw.dpy, xw.buf, dc.gc, 0, 0, xw.w, xw.h); | ||
2363 | |||
2364 | XftDrawChange(xw.draw, xw.buf); | 2361 | XftDrawChange(xw.draw, xw.buf); |
2362 | xclear(0, 0, xw.w, xw.h); | ||
2365 | } | 2363 | } |
2366 | 2364 | ||
2367 | static inline ushort | 2365 | static inline ushort |