commit ab9c9a4e3af246d0b4c6419bffb02a23fd5c1462parent a20125a3d1fd9fec2af7886a474691a1839f8537
Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Tue, 1 Nov 2011 16:37:16 +0100
merge.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
@@ -1861,7 +1861,7 @@ drawregion(int x1, int y1, int x2, int y2) {
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*xw.cw, y2*xw.ch, BORDER, BORDER);
}
void