JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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();
+       XSync(xw.dpy, False); /* necessary for a good tput flash */
        nanosleep(&tv, NULL);
 }