diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-11-01 16:37:16 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-11-01 16:37:16 +0100 |
commit | 197c46686424cc7bdc06da5c980e38ff654f98fa (patch) | |
tree | 757f0b7f27a458e078b9c93223676199547db78e | |
parent | 5ca0d3d2fa34963d01c415a7ff9cd9a7b9033298 (diff) | |
parent | b1b9dc7eb55c4be142b347d4ef6255b7929526f7 (diff) | |
download | st-197c46686424cc7bdc06da5c980e38ff654f98fa.tar.gz st-197c46686424cc7bdc06da5c980e38ff654f98fa.tar.bz2 |
merge.
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |