mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 12:30:05 +01:00
Allow server to be started without any input devices.
This commit is contained in:
parent
442a1cce7a
commit
c596e2a03e
2 changed files with 0 additions and 5 deletions
|
|
@ -802,8 +802,6 @@ void InitOutput(ScreenInfo *pScreenInfo, int argc, char *argv[])
|
|||
dmxConfigConfigure();
|
||||
if (!dmxNumScreens)
|
||||
dmxLog(dmxFatal, "InitOutput: no back-end displays found\n");
|
||||
if (!dmxNumInputs)
|
||||
dmxLog(dmxInfo, "InitOutput: no inputs found\n");
|
||||
|
||||
/* Disable lazy window creation optimization if offscreen
|
||||
* optimization is disabled */
|
||||
|
|
|
|||
|
|
@ -66,9 +66,6 @@ void InitInput(int argc, char **argv)
|
|||
int i;
|
||||
DMXInputInfo *dmxInput;
|
||||
|
||||
if (!dmxNumInputs)
|
||||
dmxLog(dmxFatal, "InitInput: no inputs specified\n");
|
||||
|
||||
for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++)
|
||||
dmxInputInit(dmxInput);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue