mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-03 22:25:44 +00:00
Input: Remove modifierMap from core
We already have modmap (in the exact same format!) in XKB, so just use that all the time, instead of duplicating the information. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f062e90a95
commit
32db27a7f8
16 changed files with 30 additions and 136 deletions
|
|
@ -5836,9 +5836,6 @@ ProcXkbGetKbdByName(ClientPtr client)
|
|||
if (tmpd == dev ||
|
||||
(dev->id == inputInfo.keyboard->id && tmpd->key &&
|
||||
tmpd->coreEvents)) {
|
||||
|
||||
memcpy(tmpd->key->modifierMap, xkb->map->modmap,
|
||||
xkb->max_key_code + 1);
|
||||
if (tmpd != dev)
|
||||
XkbCopyKeymap(dev->key->xkbInfo->desc,
|
||||
tmpd->key->xkbInfo->desc, True);
|
||||
|
|
|
|||
Loading…
Reference in a new issue