master
Aurélien Aptel 2011-11-01 16:37:16 +01:00
commit ab9c9a4e3a
1 changed files with 1 additions and 1 deletions

2
st.c
View File

@ -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