summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 05:17:09 (GMT)
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 20:53:01 (GMT)
commitfd1adc21a931e2dd1ff2e52b60a77c2153a30fe0 (patch)
treee75754ec04913a80cbfe25829725b800afdbb109
parent6e4fc5d066d9c1ea4fca444cfee1e73147c5fefb (diff)
XQuartz: Nuke duplicate locks that make painful headaches
-rw-r--r--hw/xquartz/quartzKeyboard.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c
index 4abf4af..503383f 100644
--- a/hw/xquartz/quartzKeyboard.c
+++ b/hw/xquartz/quartzKeyboard.c
@@ -296,13 +296,11 @@ static void DarwinLoadKeyboardMapping(KeySymsRec *keySyms) {
static void DarwinKeyboardSetDeviceKeyMap(KeySymsRec *keySyms, CARD8 *modmap) {
DeviceIntPtr pDev;
- pthread_mutex_lock(&keyInfo_mutex);
for (pDev = inputInfo.devices; pDev; pDev = pDev->next)
if ((pDev->coreEvents || pDev == inputInfo.keyboard) && pDev->key)
XkbApplyMappingChange(pDev, keySyms, keySyms->minKeyCode,
keySyms->maxKeyCode - keySyms->minKeyCode + 1,
modmap, serverClient);
- pthread_mutex_unlock(&keyInfo_mutex);
}
/*