(wrong string) élien Aptel
changeset: 217:bc5d2a58e095
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Thu Oct 20 23:26:58 2011 +0200
files: st.c
description:
drawregion() only copies region on screen.
diff -r fb96d95c5174 -r bc5d2a58e095 st.c
--- a/st.c Thu Oct 20 23:20:59 2011 +0200
+++ b/st.c Thu Oct 20 23:26:58 2011 +0200
_AT_@ -1855,7 +1855,7 @@
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);
}
void
Received on Tue Nov 01 2011 - 15:38:23 CET
This archive was generated by hypermail 2.3.0
: Tue Nov 01 2011 - 15:48:07 CET