Comment 38 for bug 560180

Revision history for this message
azathothgr (azathothgr) wrote : Re: [SRU] Wacom buttons cause mouse to move to upper left corner and click.

Can confirm broken in Natty : xf86-input-wacom : 0.10.11

I tried to apply the always relative patch manually to wcmXCommand.c and wcmValidateDevice.c, but the second file seems to have changed.
I've changed line 516 and following as such, which seems equivalent:
 if (IsPad(priv))
 {
  priv->wheelup = 4;
  priv->wheeldn = 5;
  /* set_absolute(pInfo, TRUE); */
  set_absolute(pInfo, FALSE);
 }

The pad still starts in absolute mode, though it can be set to Relative with XSetWacom. After that it can't be set back to absolute, which is expected.
However, the problem still persists even when xsetwacom reports the pad as being in relative mode, so I'm guessing the above is not quite right ..

What would be the correct way to set the pad in relative mode by default?