summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-04-09 17:24:57 -0700
committerJamey Sharp <jamey@minilop.net>2010-04-09 17:24:57 -0700
commit7cc9ace428dabaeeabc8bcb8843ee89bec447a9a (patch)
treeb0a569301ed8cf6e3d06db580358140f32482fee
parente52f8171000f2b67bb1b774ba94acb68a471a91b (diff)
Always call SyncHandle after issuing an X request.
-rw-r--r--src/Xcomposite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c
index 93dee58..0765975 100644
--- a/src/Xcomposite.c
+++ b/src/Xcomposite.c
@@ -138,6 +138,7 @@ XCompositeExtAddDisplay (XCompositeExtInfo *extinfo,
info->major_version = rep.majorVersion;
info->minor_version = rep.minorVersion;
UnlockDisplay (dpy);
+ SyncHandle ();
} else {
/* The server doesn't have this extension.
* Use a private Xlib-internal extension to hang the close_display