summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Xcomposite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c
index b352e41..e7d576a 100644
--- a/src/Xcomposite.c
+++ b/src/Xcomposite.c
@@ -235,8 +235,6 @@ XCompositeQueryVersion (Display *dpy,
XCompositeCheckExtension (dpy, info, 0);
*major_versionp = info->major_version;
*minor_versionp = info->minor_version;
- UnlockDisplay (dpy);
- SyncHandle ();
return 1;
}