xfree86: without CONFIG_HAL, Auto{Add|Enable}Devices and AEI is false.
There's little chance that we'll get the input devices at runtime without HAL, we might as well force the server to add mouse/kbd devices automatically - just like in the olden days. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
1cd894173e
commit
ace38fafb0
|
@ -129,9 +129,15 @@ xf86InfoRec xf86Info = {
|
||||||
.kbdCustomKeycodes = FALSE,
|
.kbdCustomKeycodes = FALSE,
|
||||||
.disableRandR = FALSE,
|
.disableRandR = FALSE,
|
||||||
.randRFrom = X_DEFAULT,
|
.randRFrom = X_DEFAULT,
|
||||||
|
#ifdef CONFIG_HAL
|
||||||
.allowEmptyInput = TRUE,
|
.allowEmptyInput = TRUE,
|
||||||
.autoAddDevices = TRUE,
|
.autoAddDevices = TRUE,
|
||||||
.autoEnableDevices = TRUE
|
.autoEnableDevices = TRUE
|
||||||
|
#else
|
||||||
|
.allowEmptyInput = FALSE,
|
||||||
|
.autoAddDevices = FALSE,
|
||||||
|
.autoEnableDevices = FALSE
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
const char *xf86ConfigFile = NULL;
|
const char *xf86ConfigFile = NULL;
|
||||||
const char *xf86InputDeviceList = NULL;
|
const char *xf86InputDeviceList = NULL;
|
||||||
|
|
Loading…
Reference in New Issue