No subject

Sebastian Glita glseba at yahoo.com
Thu Nov 10 09:06:10 PST 2011


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.




More information about the xorg mailing list