summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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