Devices are core pointers/keyboards by default now anyway, but let's set the option to some value instead of just NULL.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- hw/xfree86/common/xf86Config.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index b591f3f..5a64b8a 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -1215,7 +1215,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) *devs[count - 1] = Pointer; devs[count - 1]->options = xf86addNewOption(devs[count -1]->options, - xnfstrdup("CorePointer"), NULL); + xnfstrdup("CorePointer"), "on"); devs[count] = NULL; servlayoutp->inputs = devs; } @@ -1259,7 +1259,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) devs[count - 1] = xnfalloc(sizeof(InputInfoRec)); *devs[count - 1] = Pointer; devs[count - 1]->options = - xf86addNewOption(NULL, xnfstrdup("AlwaysCore"), NULL); + xf86addNewOption(NULL, xnfstrdup("AlwaysCore"), "on"); devs[count] = NULL; servlayoutp->inputs = devs; } @@ -1356,7 +1356,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) *devs[count - 1] = Keyboard; devs[count - 1]->options = xf86addNewOption(devs[count - 1]->options, - xnfstrdup("CoreKeyboard"), NULL); + xnfstrdup("CoreKeyboard"), "on"); devs[count] = NULL; servlayoutp->inputs = devs; } -- 1.7.5.4 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel