mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
dix: don't check VCK and VCP separately when looking for device ids.
Both are part of the device list again, so we cover them there.
This commit is contained in:
parent
032e906711
commit
7503d13407
1 changed files with 0 additions and 4 deletions
|
|
@ -107,10 +107,6 @@ AddInputDevice(DeviceProc deviceProc, Bool autoStart)
|
|||
|
||||
/* Find next available id */
|
||||
memset(devind, 0, sizeof(char)*MAX_DEVICES);
|
||||
if (inputInfo.keyboard)
|
||||
devind[inputInfo.keyboard->id]++;
|
||||
if (inputInfo.pointer)
|
||||
devind[inputInfo.pointer->id]++;
|
||||
for (devtmp = inputInfo.devices; devtmp; devtmp = devtmp->next)
|
||||
devind[devtmp->id]++;
|
||||
for (devtmp = inputInfo.off_devices; devtmp; devtmp = devtmp->next)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue