From f0a1453f24e29a9badc8f29d81c42c0eb3f67065 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Thu, 12 Oct 2006 17:42:18 -0700 Subject: Do not call UnlockDisplay without calling LockDisplay. Thanks to Magnus Kessler for reporting this bug and a correct fix. --- src/Xcomposite.c | 2 -- 1 file changed, 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; } -- cgit v1.2.3