Comment 32 for bug 151448

Revision history for this message
azathothgr (azathothgr) wrote :

I've got it to work :
First, in dlls/winex11.drv/wintab.c (from wine source), around line #623 , there's a check for 5 or more axes which according to a bug report was left there without any particular reason :
Code:

 if (!axis_read_complete && Val->num_axes >= 5 && cursor->TYPE == CSR_TYPE_PEN)

I changed this to :
Code:

if (!axis_read_complete && cursor->TYPE == CSR_TYPE_PEN)

It seems it checks for each axis anyway after that, so it's redundant.

Most importantly, however, I changed every instance of IsXExtensionDevice in that file with IsXExtensionPointer, which is what xsetpointer -l reports those devices as.