xkb: remove superfluous inputInfo.keyboard treatment.
Really not necessary, we can just walk the list and spare us the special treatment of the VCK.
This commit is contained in:
parent
70bd826122
commit
54651ff5ec
|
@ -2014,11 +2014,6 @@ XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputInfo.keyboard->key->xkbInfo &&
|
|
||||||
inputInfo.keyboard->key->xkbInfo->desc == dst) {
|
|
||||||
pDev = inputInfo.keyboard;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
for (tmpDev = inputInfo.devices; tmpDev && !pDev;
|
for (tmpDev = inputInfo.devices; tmpDev && !pDev;
|
||||||
tmpDev = tmpDev->next) {
|
tmpDev = tmpDev->next) {
|
||||||
if (tmpDev->key && tmpDev->key->xkbInfo &&
|
if (tmpDev->key && tmpDev->key->xkbInfo &&
|
||||||
|
@ -2035,7 +2030,6 @@ XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (sendNotifies) {
|
if (sendNotifies) {
|
||||||
if (!pDev) {
|
if (!pDev) {
|
||||||
|
|
Loading…
Reference in New Issue