JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed XSync handling and finished man page
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 5cf2738..2d132a5 100644 (file)
--- 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