Fix boolean thinko that prevented working without a server layout

This commit is contained in:
David Nusinow 2007-05-21 19:50:04 -04:00
parent 56fd927155
commit ff2eae86b6

View File

@ -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;