From 8a8fdd762ad89c350854943311ec4aadc50245fa Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 13 Dec 2010 11:28:30 +1000 Subject: [PATCH] xfree86: always report the input options before initialising the device. After collecting the driver's default options, report the list of options set for the device before calling PreInit(). This helps with debugging those cases where options are not merged correctly. xf86OptionListReport reports with verbosity 5, higher than the default verbosity so this won't generate logspam in the default case. Signed-off-by: Peter Hutterer Reviewed-by: Dan Nicholson Reviewed-by: Simon Thum --- hw/xfree86/common/xf86Xinput.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 4ee83360c..b9006ab07 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -684,6 +684,7 @@ xf86AddInput(InputDriverPtr drv, InputInfoPtr pInfo) pInfo->next = NULL; xf86CollectInputOptions(pInfo, (const char**)drv->default_options); + xf86OptionListReport(pInfo->options); xf86ProcessCommonOptions(pInfo, pInfo->options); }