[PATCH synaptic 1/2] config: collect options during preinit

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Sun Sep 19 00:49:58 PDT 2010


This must be done before SetDeviceAndProtocol to ensure that the
"Device" option is set correctly.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
---
 src/synaptics.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/synaptics.c b/src/synaptics.c
index eae48d2..89398f5 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -705,6 +705,8 @@ SynapticsPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
     pInfo->conversion_proc         = ConvertProc;
     pInfo->private                 = priv;
 
+    xf86CollectInputOptions(pInfo, NULL, NULL);
+
     xf86OptionListReport(pInfo->options);
 
     /* allocate now so we don't allocate in the signal handler */
-- 
1.7.3.rc1.230.gdf48043



More information about the xorg-devel mailing list