mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue