diff options
Diffstat (limited to 'x11/xf86-input-mouse/patches/patch-ab')
-rw-r--r-- | x11/xf86-input-mouse/patches/patch-ab | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/xf86-input-mouse/patches/patch-ab b/x11/xf86-input-mouse/patches/patch-ab new file mode 100644 index 00000000000..f24870991d3 --- /dev/null +++ b/x11/xf86-input-mouse/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.1 2009/03/14 11:09:37 apb Exp $ + +Changes from NetBSD xsrc/external/mit/xf86-input-mouse/dist/\ +src/mouse.c + +---------------------------- +revision 1.2 +date: 2009/02/02 03:05:35; author: christos; state: Exp; lines: +4 -0 +Call a SetupMouse function to condition the fd. +---------------------------- + +--- src/mouse.c.orig 2008-03-20 20:55:51.000000000 +0200 ++++ src/mouse.c +@@ -2538,6 +2538,10 @@ SetupMouse(InputInfoPtr pInfo) + Bool automatic = FALSE; + + pMse = pInfo->private; ++ ++ if (osInfo->SetupMouse) ++ if (!osInfo->SetupMouse(pInfo)) ++ return FALSE; + + /* Handle the "Auto" protocol. */ + if (pMse->protocolID == PROT_AUTO) { |