Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
st.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call XSync in redraw
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
b013bca
..
f4ad23d
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-2150,6
+2150,7
@@
redraw(void) {
struct timespec tv = {0, REDRAW_TIMEOUT * 1000};
tfulldirt();
draw();
struct timespec tv = {0, REDRAW_TIMEOUT * 1000};
tfulldirt();
draw();
+ XSync(xw.dpy, False); /* necessary for a good tput flash */
nanosleep(&tv, NULL);
}
nanosleep(&tv, NULL);
}