xfree86: pass in the XKB event processing proc instead of the XI one.
We need to pass ProcessPointerEvent or ProcessKeyboardEvent to XkbSetExtension, otherwise we lose the xkb layer.
This commit is contained in:
parent
27bc1a8fef
commit
e2cb851566
|
@ -205,7 +205,7 @@ xf86ActivateDevice(LocalDevicePtr local)
|
|||
|
||||
RegisterOtherDevice(dev);
|
||||
if (!noXkbExtension)
|
||||
XkbSetExtension(dev, ProcessOtherEvent);
|
||||
XkbSetExtension(dev, (DeviceIsPointerType(dev)) ? ProcessPointerEvent : ProcessKeyboardEvent);
|
||||
|
||||
if (serverGeneration == 1)
|
||||
xf86Msg(X_INFO, "XINPUT: Adding extended input device \"%s\" (type: %s)\n",
|
||||
|
|
Loading…
Reference in New Issue