summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-10-12 17:42:18 -0700
committerJamey Sharp <jamey@minilop.net>2006-10-12 17:45:58 -0700
commitf0a1453f24e29a9badc8f29d81c42c0eb3f67065 (patch)
tree5fdbe8e7f8a686020b5e4f78a15f95529a03e9d1
parent5f2879d1ff86979b6654022031373ce0c9861207 (diff)
Do not call UnlockDisplay without calling LockDisplay.
Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for reporting this bug and a correct fix.
-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;
}