mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Merge remote branch 'whot/for-keith'
This commit is contained in:
@@ -193,16 +193,12 @@ void
|
||||
CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master)
|
||||
{
|
||||
KeyClassPtr mk = master->key;
|
||||
KeyClassPtr dk = device->key;
|
||||
int i;
|
||||
|
||||
if (device == master)
|
||||
return;
|
||||
|
||||
mk->sourceid = device->id;
|
||||
|
||||
for (i = 0; i < 8; i++)
|
||||
mk->modifierKeyCount[i] = dk->modifierKeyCount[i];
|
||||
|
||||
if (!XkbCopyDeviceKeymap(master, device))
|
||||
FatalError("Couldn't pivot keymap from device to core!\n");
|
||||
|
||||
Reference in New Issue
Block a user