your mail

Peter Hutterer peter.hutterer at who-t.net
Thu Nov 10 13:36:44 PST 2011


On Thu, Nov 10, 2011 at 09:06:10AM -0800, Sebastian Glita wrote:
> Hello,
> 
> Had 48 hours with no mouse movement since commit b450efdf95999cad08de23ce069f04a66bdae24b to xorg/driver/xf86-input-evdev
> 
> Seems below #endif went one line too far:
> 
> >>>
> @@ -1136,10 +1141,12 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
>      for (axis = REL_X; i < MAX_VALUATORS && axis <= REL_MAX; axis++)
>      {
>          pEvdev->axis_map[axis] = -1;
> +#ifndef HAVE_SMOOTH_SCROLLING
>          /* We don't post wheel events, so ignore them here too */
>          if (axis == REL_WHEEL || axis == REL_HWHEEL || axis == REL_DIAL)
>              continue;
>          if (!EvdevBitIsSet(pEvdev->rel_bitmask, axis))
> +#endif
>              continue;
>          pEvdev->axis_map[axis] = i;
>          i++;
> @@ -1168,6 +1175,14 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
> <<<
> 
> Should be:
> 
> >>>
> +#endif
>          if (!EvdevBitIsSet(pEvdev->rel_bitmask, axis))
> <<<
> 
> thanks,
> s.

Ooops, thanks, I pushed the fix to master,
a9cdb6590cdf72917cdfeb17e2fcc6a110b2c7d1

Cheers,
  Peter



More information about the xorg mailing list