about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:51:44 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:51:44 +0200
commite6cbe9c11e88537d74eb094ba5844f71ee57f268 (patch)
tree7442199183f1d55086195a3076ff000c59e13a4d /main.c
parentf60c597d653bd7eab6c620fc53d732ca75f6a880 (diff)
downloaddwm-e6cbe9c11e88537d74eb094ba5844f71ee57f268.tar.gz
fixed XSync handling and finished man page
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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