mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
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:
parent
0e800ca465
commit
27ad5d74c2
5 changed files with 29 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue