mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix build when XKB is disabled.
This commit is contained in:
@@ -524,8 +524,8 @@ CloseDevice(DeviceIntPtr dev)
|
||||
#ifdef XKB
|
||||
if (dev->key->xkbInfo)
|
||||
XkbFreeInfo(dev->key->xkbInfo);
|
||||
#endif
|
||||
dev->key->xkbInfo = NULL;
|
||||
#endif
|
||||
xfree(dev->key->curKeySyms.map);
|
||||
xfree(dev->key->modifierKeyMap);
|
||||
xfree(dev->key);
|
||||
|
||||
Reference in New Issue
Block a user