pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
a20125a
23bb97d
)
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)
1
2
st.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
st.c
index
98bb051
,
46f6d5b
..
e193443
---
1
/
st.c
---
2
/
st.c
+++ b/
st.c
@@@
-1861,7
-1855,7
+1861,7
@@@
drawregion(int x1, int y1, int x2, int
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);
++ XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, x1*xw.cw, y1*xw.ch, x2*xw.cw, y2*xw.ch, BORDER, BORDER);
}
void