mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +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
|
|
@ -427,7 +427,6 @@ static int dmxKeyboardOn(DeviceIntPtr pDevice, DMXLocalInitInfo *info)
|
|||
XkbInitKeyboardDeviceStruct(pDevice,
|
||||
&info->names,
|
||||
&info->keySyms,
|
||||
info->modMap,
|
||||
dmxKeyboardBellProc,
|
||||
dmxKeyboardKbdCtrlProc);
|
||||
|
||||
|
|
@ -461,7 +460,6 @@ static int dmxDeviceOnOff(DeviceIntPtr pDevice, int what)
|
|||
DevicePtr pDev = (DevicePtr) pDevice;
|
||||
InitKeyboardDeviceStruct(pDev,
|
||||
&info.keySyms,
|
||||
info.modMap,
|
||||
dmxBell, dmxKbdCtrl);
|
||||
}
|
||||
if (info.buttonClass) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue