summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-06-07 14:17:23 -0400
committerAdam Jackson <ajax@redhat.com>2018-02-21 14:50:55 -0500
commite6aa78128e8e4489e7845a3ada552427a43663b9 (patch)
tree403b9807f0ec630c05217f09aba9218d0194f222
parent3c8f243b750a92d5837a449d344ff884dbd02b57 (diff)
downloadxorg-driver-xf86-input-mouse-e6aa78128e8e4489e7845a3ada552427a43663b9.tar.gz
bsd: Don't try to use SIGIO for input ABI >= 23
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/bsd_mouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bsd_mouse.c b/src/bsd_mouse.c
index a2c8ec7..dc628d4 100644
--- a/src/bsd_mouse.c
+++ b/src/bsd_mouse.c
@@ -546,8 +546,10 @@ usbMouseProc(DeviceIntPtr pPointer, int what)
pInfo->fd = -1;
} else {
xf86FlushInput(pInfo->fd);
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 23
if (!xf86InstallSIGIOHandler (pInfo->fd, usbSigioReadInput,
pInfo))
+#endif
AddEnabledDevice(pInfo->fd);
}
}