Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix PRINT/DRAW _TIMEOUT and fix redrawing bug. - st - [fork] customized build …
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit df54ab040509829b4baec1673e4b158038ff983d
parent 896310e5928b6daab5f594acd9648ffe8233022e
Author: AurĂ©lien Aptel <[email protected]>
Date: Sat, 21 Jan 2012 23:26:53 +0100
fix PRINT/DRAW _TIMEOUT and fix redrawing bug.
Diffstat:
M st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -1888,7 +1888,7 @@ expose(XEvent *ev) {
if(xw.state & WIN_REDRAW) {
if(!e->count) {
xw.state &= ~WIN_REDRAW;
- draw();
+ xcopy(0, 0, term.col, term.row);
}
} else
XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, e->x-BORDER, e->y-BOR…
t@@ -2028,7 +2028,7 @@ int
last_draw_too_old(void) {
struct timeval now;
gettimeofday(&now, NULL);
- return TIMEDIFF(now, xw.lastdraw) >= PRINT_TIMEOUT/1000;
+ return TIMEDIFF(now, xw.lastdraw) >= DRAW_TIMEOUT/1000;
}
void
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.