diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-04-09 17:31:00 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-04-09 17:31:00 -0700 |
commit | 54fbe5759aa961dccc618b35573845f847675570 (patch) | |
tree | 6ee7d9a1e9fcb1815009c89a50624b5b7eca0dd8 /src | |
parent | f7c3b023f04e06dfe380dce488f80943a10be57e (diff) |
Don't unlock the Display twice.
_xiQueryVersion's caller must wrap it in a LockDisplay/UnlockDisplay
pair, so it shouldn't call UnlockDisplay itself.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/XIQueryVersion.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/XIQueryVersion.c b/src/XIQueryVersion.c index a14e9c9..1e4f9a4 100644 --- a/src/XIQueryVersion.c +++ b/src/XIQueryVersion.c @@ -60,7 +60,6 @@ _xiQueryVersion(Display * dpy, int *major, int *minor, XExtDisplayInfo *info) if (!info || !info->data) { *major = 0; *minor = 0; - UnlockDisplay(dpy); return BadRequest; } |