Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a20125a
)
merge.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Tue, 1 Nov 2011 15:37:16 +0000
(16:37 +0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Tue, 1 Nov 2011 15:37:16 +0000
(16:37 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
98bb051
..
e193443
100644
(file)
--- 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