From ace38fafb062372dcd3d56378b5b8f86525c6241 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 18 Nov 2008 08:19:45 +1000 Subject: [PATCH] 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 --- hw/xfree86/common/xf86Globals.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/xfree86/common/xf86Globals.c b/hw/xfree86/common/xf86Globals.c index dfc2bd7bb..db3b68463 100644 --- a/hw/xfree86/common/xf86Globals.c +++ b/hw/xfree86/common/xf86Globals.c @@ -129,9 +129,15 @@ xf86InfoRec xf86Info = { .kbdCustomKeycodes = FALSE, .disableRandR = FALSE, .randRFrom = X_DEFAULT, +#ifdef CONFIG_HAL .allowEmptyInput = TRUE, .autoAddDevices = TRUE, .autoEnableDevices = TRUE +#else + .allowEmptyInput = FALSE, + .autoAddDevices = FALSE, + .autoEnableDevices = FALSE +#endif }; const char *xf86ConfigFile = NULL; const char *xf86InputDeviceList = NULL;