pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7816c
)
Resize now uses xclear().
author
Christoph Lohmann
<20h@r-36.net>
Sat, 13 Apr 2013 07:49:11 +0000
(09:49 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 13 Apr 2013 07:49:11 +0000
(09:49 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
c4eafa0
..
de3d045
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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 : defaultbg].pixel);
- 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