diff options
Diffstat (limited to 'FAQ')
| -rw-r--r-- | FAQ | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -192,13 +192,13 @@ diff --git a/x.c b/x.c @@ -732,10 +732,6 @@ xresize(int col, int row) win.tw = col * win.cw; win.th = row * win.ch; - + - XFreePixmap(xw.dpy, xw.buf); - xw.buf = XCreatePixmap(xw.dpy, xw.win, win.w, win.h, - DefaultDepth(xw.dpy, xw.scr)); - XftDrawChange(xw.draw, xw.buf); xclear(0, 0, win.w, win.h); - + /* resize to new width */ @@ -1148,8 +1144,7 @@ xinit(int cols, int rows) gcvalues.graphics_exposures = False; @@ -209,7 +209,7 @@ diff --git a/x.c b/x.c + xw.buf = xw.win; XSetForeground(xw.dpy, dc.gc, dc.col[defaultbg].pixel); XFillRectangle(xw.dpy, xw.buf, dc.gc, 0, 0, win.w, win.h); - + @@ -1632,8 +1627,6 @@ xdrawline(Line line, int x1, int y1, int x2) void xfinishdraw(void) |
