~petersanchez/st

15cc8754c2e272ebac6e86845859816e881da000 — Roberto E. Vargas Caballero 11 years ago ba1e9da
Call XSync in redraw

It is necessary call to XSync if you want a good tput flash, because in
other way you can not be sure that white screen will be shown.
---
 st.c |    1 +
 1 file changed, 1 insertion(+)
1 files changed, 1 insertions(+), 0 deletions(-)

M st.c
M st.c => st.c +1 -0
@@ 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);
}