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:
parent
0f2398d06c
commit
e4fe0a3cb7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user