mirror of
https://github.com/pikami/st.git
synced 2024-11-26 05:45:42 +00:00
fixed pixmap buffer drawing.
This commit is contained in:
parent
eab9aad1dc
commit
b4f623f910
2
st.c
2
st.c
@ -1181,7 +1181,7 @@ draw(int redraw_all) {
|
||||
char buf[DRAW_BUF_SIZ];
|
||||
|
||||
XSetForeground(xw.dis, dc.gc, dc.col[DefaultBG]);
|
||||
XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.w, xw.h);
|
||||
XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.bufw, xw.bufh);
|
||||
for(y = 0; y < term.row; y++) {
|
||||
base = term.line[y][0];
|
||||
i = ox = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user