John Klehm : winex11: Allow wintab devices with less than 5 axes.
Alexandre Julliard
julliard at winehq.org
Fri Apr 25 08:11:00 CDT 2008
Module: wine
Branch: master
Commit: b95c091dbf7669361a3f720083cac52989866b0e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b95c091dbf7669361a3f720083cac52989866b0e
Author: John Klehm <xixsimplicityxix at gmail.com>
Date: Wed Apr 16 02:26:37 2008 -0500
winex11: Allow wintab devices with less than 5 axes.
---
dlls/winex11.drv/wintab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c
index 16e369b..8a2afd1 100644
--- a/dlls/winex11.drv/wintab.c
+++ b/dlls/winex11.drv/wintab.c
@@ -620,7 +620,7 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
** the various inputs to see what the values are. Odds are that a
** more 'correct' algorithm would condense to this one anyway.
*/
- if (!axis_read_complete && Val->num_axes >= 5 && cursor->TYPE == CSR_TYPE_PEN)
+ if (!axis_read_complete && cursor->TYPE == CSR_TYPE_PEN)
{
Axis = (XAxisInfoPtr) ((char *) Val + sizeof
(XValuatorInfo));
More information about the wine-cvs
mailing list