mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
XQuartz: Added functionality to add a file descriptor to the connection list after the server is already running.
(cherry picked from commit 543c2cd68d1ffef65d4644b860faad7191c6b9da)
This commit is contained in:
parent
01612fe612
commit
2408303d79
9 changed files with 224 additions and 11 deletions
|
|
@ -904,7 +904,6 @@ void DarwinKeyboardInit(DeviceIntPtr pDev) {
|
|||
|
||||
QuartzXkbUpdate(pDev);
|
||||
#else
|
||||
#error FAIL
|
||||
assert( InitKeyboardDeviceStruct( (DevicePtr)pDev, &keySyms,
|
||||
keyInfo.modMap, QuartzBell,
|
||||
DarwinChangeKeyboardControl ));
|
||||
|
|
@ -921,7 +920,6 @@ void DarwinKeyboardReloadHandler(int screenNum, xEventPtr xe, DeviceIntPtr pDev,
|
|||
#ifdef XQUARTZ_USE_XKB
|
||||
QuartzXkbUpdate(pDev);
|
||||
#else
|
||||
#error FAIL
|
||||
if (pDev->key) {
|
||||
if (pDev->key->curKeySyms.map) xfree(pDev->key->curKeySyms.map);
|
||||
if (pDev->key->modifierKeyMap) xfree(pDev->key->modifierKeyMap);
|
||||
|
|
|
|||
Loading…
Reference in a new issue