Re: [PATCH 1/3] xkb: Repurpose XkbCopyDeviceKeymap to apply a given keymap to a device

2013-10-21 Thread Daniel Stone
Hi, On 21 October 2013 13:41, Rui Matos wrote: > @@ -230,7 +230,7 @@ CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master) > > mk->sourceid = device->id; > > -if (!XkbCopyDeviceKeymap(master, device)) > +if (device->key && !XkbDeviceApplyKeymap(master, > device->key->xkbInfo->desc)

[PATCH 1/3] xkb: Repurpose XkbCopyDeviceKeymap to apply a given keymap to a device

2013-10-21 Thread Rui Matos
This will also make it useful for cases when we have a new keymap to apply to a device but don't have a source device. --- Xi/exevents.c| 2 +- include/xkbsrv.h | 4 ++-- xkb/xkb.c| 2 +- xkb/xkbUtils.c | 14 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff