xfree86: don't warn about duplicate core devices
It doesn't matter. All devices are core pointer devices by default now anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
033f53c223
commit
44d53728a6
|
@ -1111,22 +1111,12 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout)
|
|||
xf86CheckBoolOption(indp->options, "CorePointer", FALSE)) {
|
||||
if (!corePointer) {
|
||||
corePointer = indp;
|
||||
} else {
|
||||
xf86ReplaceBoolOption(indp->options, "CorePointer", FALSE);
|
||||
xf86Msg(X_WARNING, "Duplicate core pointer devices. "
|
||||
"Removing core pointer attribute from \"%s\"\n",
|
||||
indp->name);
|
||||
}
|
||||
}
|
||||
if (indp->options &&
|
||||
xf86CheckBoolOption(indp->options, "CoreKeyboard", FALSE)) {
|
||||
if (!coreKeyboard) {
|
||||
coreKeyboard = indp;
|
||||
} else {
|
||||
xf86ReplaceBoolOption(indp->options, "CoreKeyboard", FALSE);
|
||||
xf86Msg(X_WARNING, "Duplicate core keyboard devices. "
|
||||
"Removing core keyboard attribute from \"%s\"\n",
|
||||
indp->name);
|
||||
}
|
||||
}
|
||||
count++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user