diff --git a/src/mouse.c b/src/mouse.c index d2377ad..6fa76c0 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -944,6 +944,10 @@ MousePreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) protocol = MousePickProtocol(pInfo, device, protocol, &protocolID); + if (protocolID == PROT_UNKNOWN && + osInfo->CheckProtocol && osInfo->CheckProtocol(protocol)) + goto out; + if (!device) MouseFindDevice(pInfo, protocol);