Don't report all options unconditionally.

While this is useful to see all options provided, it also lists options that
are not actually interpreted by the driver. Skip it, use xf86Set*Option()
instead to just report the options handled by the driver.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Peter Hutterer
2010-12-08 11:08:55 +10:00
parent 9b62f5c291
commit 07dbd6b85d

View File

@@ -696,8 +696,6 @@ SynapticsPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
pInfo->switch_mode = SwitchMode;
pInfo->private = priv;
xf86OptionListReport(pInfo->options);
/* allocate now so we don't allocate in the signal handler */
priv->timer = TimerSet(NULL, 0, 0, NULL, NULL);
if (!priv->timer) {