summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-01-08 21:29:00 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-01-08 21:29:00 -0800
commita61f0f92299037fe818a54c2cd9a2d3836698b43 (patch)
tree504b3b6e4f34673f0cf3bdacc0ddb4d900a2840e
parent4623258b48f01306309ff9d39a85565bce57946e (diff)
sun_mouse: fallback to commonOptions for StreamsModule too
-rw-r--r--src/sun_mouse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sun_mouse.c b/src/sun_mouse.c
index 1f01f17..ac40e07 100644
--- a/src/sun_mouse.c
+++ b/src/sun_mouse.c
@@ -630,6 +630,10 @@ solarisMouseAutoProbe(InputInfoPtr pInfo, const char **protocol,
if (*device != NULL) {
strmod = xf86CheckStrOption(pInfo->options, "StreamsModule", NULL);
+ if (strmod == NULL) {
+ strmod = xf86CheckStrOption(pInfo->conf_idev->commonOptions,
+ "StreamsModule", NULL);
+ }
if (strmod) {
/* if a device name is already known, and a StreamsModule is
specified to convert events to VUID, then we don't need to