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 <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Simon Thum <simon.thum@gmx.de>
This commit is contained in:
parent
9db9e964f6
commit
8a8fdd762a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user