mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: swap a LookupKeyboardDevice over in favour of GetPairedDevice
The former always returns the VCK, which is obviously wrong if we have multiple devices.
This commit is contained in:
@@ -691,7 +691,7 @@ ProcessPointerEvent( register xEvent * xE,
|
||||
register DeviceIntPtr mouse,
|
||||
int count)
|
||||
{
|
||||
DeviceIntPtr dev = (DeviceIntPtr)LookupKeyboardDevice();
|
||||
DeviceIntPtr dev = GetPairedDevice(mouse);
|
||||
XkbSrvInfoPtr xkbi = dev->key->xkbInfo;
|
||||
unsigned changed = 0;
|
||||
ProcessInputProc backupproc;
|
||||
|
||||
Reference in New Issue
Block a user