Input: Generate XKB mapping changes for all core-sending devices (bug #12523)

When we change the mapping on a core device, make sure we propagate this
through to XKB for all extended devices as well.
This commit is contained in:
Daniel Stone 2007-09-23 17:17:03 +03:00
commit 27ad5d74c2
5 changed files with 29 additions and 14 deletions

View file

@ -122,7 +122,7 @@ ProcXSetDeviceModifierMapping(ClientPtr client)
if (ret == MappingSuccess || ret == MappingBusy || ret == MappingFailed) {
rep.success = ret;
if (ret == MappingSuccess)
SendDeviceMappingNotify(MappingModifier, 0, 0, dev);
SendDeviceMappingNotify(client, MappingModifier, 0, 0, dev);
WriteReplyToClient(client, sizeof(xSetDeviceModifierMappingReply),
&rep);
} else {