[RFC XI 2.1 - xserver 7/9] Reorder AxisInfo elements

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 16 22:11:13 PST 2010


On Fri, Nov 12, 2010 at 05:35:08PM -0500, Chase Douglas wrote:
> From: Chase Douglas <chase.douglas at ubuntu.com>
> 
> Reorder elements so they can be uniform with the upcoming TouchAxisInfo
> elements required for coordinate scaling.
> 
> Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
> ---
>  include/inputstr.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/inputstr.h b/include/inputstr.h
> index 4d8ea12..b3c60b2 100644
> --- a/include/inputstr.h
> +++ b/include/inputstr.h
> @@ -213,11 +213,11 @@ typedef struct _KeyClassRec {
>  
>  typedef struct _AxisInfo {
>      int		resolution;
> -    int		min_resolution;
> -    int		max_resolution;
>      int		min_value;
>      int		max_value;
>      Atom	label;
> +    int		min_resolution;
> +    int		max_resolution;
>      CARD8	mode;
>  } AxisInfo, *AxisInfoPtr;
>  
> -- 
> 1.7.1

this is technically an ABI break, together with the masked_valuator exports
I'll won't merge this into master right now until we've figured out if it's
worth bumping the ABI again.

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

(the same applies to the valuator mask export patch, was too quick in
hitting send on that one ;)

Cheers,
  Peter


More information about the xorg-devel mailing list