Signed-off-by: Adam Jackson <a...@redhat.com>
---
 src/bsd_mouse.c | 2 ++
 1 file changed, 2 insertions(+)

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);
             }
         }
-- 
2.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to