From 77dab254402073bf96234a6b1056b2277578a976 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 17 Oct 2004 20:29:35 +0000 Subject: [PATCH] =?UTF-8?q?-=20Add=20interlaced=20support=20to=20S3=20driv?= =?UTF-8?q?er=20(bug=20332,=20Leo=20Savernik)=20-=20EmulateWheelTimeout=20?= =?UTF-8?q?(bug=20323,=20Mathias=20Fr=C3=B6hlich)=20-=20single=20button=20?= =?UTF-8?q?double-click=20(bug=20322,=20Rob=20Brown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw/xfree86/os-support/xf86OSmouse.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/xf86OSmouse.h b/hw/xfree86/os-support/xf86OSmouse.h index 87d742d5e..1eb4fadc4 100644 --- a/hw/xfree86/os-support/xf86OSmouse.h +++ b/hw/xfree86/os-support/xf86OSmouse.h @@ -254,7 +254,7 @@ typedef struct _MouseDevRec { CARD32 emulate3Expires;/* time to fire emulation code */ Bool emulateWheel; int wheelInertia; - int wheelButtonMask; + int wheelButton; int negativeX; /* Button values. Unlike the Z and */ int positiveX; /* W equivalents, these are button */ int negativeY; /* values rather than button masks. */ @@ -269,6 +269,12 @@ typedef struct _MouseDevRec { int angleOffset; pointer pDragLock; /* drag lock area */ int xisbscale; /* buffer size for 1 event */ + int wheelButtonTimeout;/* Timeout for the wheel button emulation */ + CARD32 wheelButtonExpires; + int doubleClickSourceButtonMask; + int doubleClickTargetButton; + int doubleClickTargetButtonMask; + int doubleClickOldSourceState; } MouseDevRec, *MouseDevPtr; /* Z axis mapping */