Add call xf86CollectInputOptions() before using pInfo->options.
Signed-off-by: Alexandr Shadchin <[email protected]>
---
src/mouse.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mouse.c b/src/mouse.c
index c3498ea..e3d3d9f 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -927,6 +927,8 @@ MousePreInit(InputDriverPtr drv, InputInfoPtr pInfo, int
flags)
pMse->PostEvent = MousePostEvent;
pMse->CommonOptions = MouseCommonOptions;
+ COLLECT_INPUT_OPTIONS(pInfo, NULL);
+
/* Find the protocol type. */
protocol = xf86SetStrOption(pInfo->options, "Protocol", NULL);
if (protocol) {
--
1.7.5
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel