From: Aurélien Aptel Date: Tue, 1 Nov 2011 15:37:16 +0000 (+0100) Subject: merge. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=ab9c9a4e3af246d0b4c6419bffb02a23fd5c1462;p=st.git merge. --- ab9c9a4e3af246d0b4c6419bffb02a23fd5c1462 diff --cc st.c index 98bb051,46f6d5b..e193443 --- a/st.c +++ b/st.c @@@ -1861,7 -1855,7 +1861,7 @@@ drawregion(int x1, int y1, int x2, int xdraws(buf, base, ox, y, ic, ib); } xdrawcursor(); - XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, 0, 0, xw.bufw, xw.bufh, BORDER, BORDER); - XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, x1*xw.cw, y1*xw.ch, (x2-1)*xw.cw, (y2-1)*xw.ch, BORDER, BORDER); ++ XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, x1*xw.cw, y1*xw.ch, x2*xw.cw, y2*xw.ch, BORDER, BORDER); } void