mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-03-24 01:24:06 +00:00
sun_mouse: check for Device in commonOptions if pInfo->options isn't set yet
This commit is contained in:
@@ -622,6 +622,10 @@ solarisMouseAutoProbe(InputInfoPtr pInfo, const char **protocol,
|
||||
if (*device == NULL) {
|
||||
/* Check to see if xorg.conf or HAL specified a device to use */
|
||||
*device = xf86CheckStrOption(pInfo->options, "Device", NULL);
|
||||
if (*device == NULL) {
|
||||
*device = xf86CheckStrOption(pInfo->conf_idev->commonOptions,
|
||||
"Device", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
if (*device != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user