Fix boolean thinko that prevented working without a server layout
This commit is contained in:
parent
56fd927155
commit
ff2eae86b6
|
@ -1809,7 +1809,7 @@ configImpliedLayout(serverLayoutPtr servlayoutp, XF86ConfScreenPtr conf_screen)
|
||||||
indp = xnfalloc(sizeof(IDevRec));
|
indp = xnfalloc(sizeof(IDevRec));
|
||||||
indp->identifier = NULL;
|
indp->identifier = NULL;
|
||||||
servlayoutp->inputs = indp;
|
servlayoutp->inputs = indp;
|
||||||
if (!xf86Info.allowEmptyInput && checkCoreInputDevices(servlayoutp, TRUE))
|
if (!xf86Info.allowEmptyInput && !checkCoreInputDevices(servlayoutp, TRUE))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue