dix: Dont change the keyboard mapping on non-keyboard devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
69e73e5ce0
commit
0cfd481308
|
@ -1505,6 +1505,8 @@ ProcChangeKeyboardMapping(ClientPtr client)
|
|||
for (tmp = inputInfo.devices; tmp; tmp = tmp->next) {
|
||||
if (tmp->isMaster || tmp->u.master != pDev)
|
||||
continue;
|
||||
if (!tmp->key)
|
||||
continue;
|
||||
|
||||
rc = XaceHook(XACE_DEVICE_ACCESS, client, pDev, DixManageAccess);
|
||||
if (rc != Success)
|
||||
|
|
Loading…
Reference in New Issue
Block a user