From e6cbe9c11e88537d74eb094ba5844f71ee57f268 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 15 Jul 2006 18:51:44 +0200 Subject: fixed XSync handling and finished man page --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 5cf2738..2d132a5 100644 --- a/main.c +++ b/main.c @@ -131,7 +131,7 @@ sendevent(Window w, Atom a, long value) e.xclient.data.l[0] = value; e.xclient.data.l[1] = CurrentTime; XSendEvent(dpy, w, False, NoEventMask, &e); - XFlush(dpy); + XSync(dpy, False); } void -- cgit v1.2.3