diff options
Diffstat (limited to 'x11/modular-xorg-server/patches/patch-ai')
-rw-r--r-- | x11/modular-xorg-server/patches/patch-ai | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11/modular-xorg-server/patches/patch-ai b/x11/modular-xorg-server/patches/patch-ai new file mode 100644 index 00000000000..10790f37dea --- /dev/null +++ b/x11/modular-xorg-server/patches/patch-ai @@ -0,0 +1,39 @@ +$NetBSD: patch-ai,v 1.3 2009/03/14 11:00:22 apb Exp $ + +Changes from NetBSD xsrc/external/mit/xorg-server/dist/\ +hw/xfree86/os-support/xf86OSmouse.h + +---------------------------- +revision 1.2 +date: 2009/02/02 03:06:37; author: christos; state: Exp; lines: +4 -0 +add a SetupMouse proc to condition the fd. Convert NetBSD's SetupAuto to +SetupMouse. +---------------------------- + +--- hw/xfree86/os-support/xf86OSmouse.h.orig 2008-06-06 12:03:10.000000000 +0200 ++++ hw/xfree86/os-support/xf86OSmouse.h +@@ -82,6 +82,7 @@ typedef Bool (*BuiltinPreInitProc)(Input + int flags); + typedef const char *(*DefaultProtocolProc)(void); + typedef const char *(*SetupAutoProc)(InputInfoPtr pInfo, int *protoPara); ++typedef Bool (*SetupMouseProc)(InputInfoPtr pInfo); + typedef void (*SetResProc)(InputInfoPtr pInfo, const char* protocol, int rate, + int res); + typedef const char *(*FindDeviceProc)(InputInfoPtr pInfo, const char *protocol, +@@ -99,6 +100,7 @@ typedef struct { + BuiltinPreInitProc PreInit; + DefaultProtocolProc DefaultProtocol; + SetupAutoProc SetupAuto; ++ SetupMouseProc SetupMouse; + SetResProc SetPS2Res; + SetResProc SetBMRes; + SetResProc SetMiscRes; +@@ -141,6 +143,8 @@ typedef struct { + * + * SetBMRes: Set the resolution and sample rate for MSE_BM protocol types. + * ++ * SetupMouse: Called once after open to condition the file descriptor. ++ * + * SetMiscRes: Set the resolution and sample rate for MSE_MISC protocol types. + * + * FindDevice: This function gets called when no Device has been specified |