]> Sergey Matveev's repositories - st.git/blobdiff - st.c
Call XSync in redraw
[st.git] / st.c
diff --git a/st.c b/st.c
index b013bca0464a1f850ce8a014a6876415990d70b7..f4ad23d21497d7d3e2ccadef170af3d9e8141aaa 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);
 }