On 06/03/2011 05:00 PM, Daniel Stone wrote:
> For scroll wheel support, we used to send buttons 4/5 and 6/7 for
> horizontal/vertical positive/negative scroll events.  For touchpads, we
> really want more fine-grained scroll values.  GetPointerEvents now
> accepts both old-school scroll button presses, and new-style scroll axis
> events, while emitting both types of events to support both old and new
> clients.
> 
> Signed-off-by: Daniel Stone <[email protected]>

I guess apps that want the best support across server generations are
supposed to know they can ignore legacy scroll by virtue of the
POINTER_EMULATED flag? If yes, shouldn't the flag be always set on
either the axis updates or the button events?

I further guess that the non-raw scroll events will still be adding up,
is that intentional?

Cheers,

Simon


> +        events += nev_tmp;
> +        num_events += nev_tmp;
> +    }
> +
>      return num_events;
>  }
>  

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to