[PATCH xserver 14/17] Input: Reorder AxisInfo elements

Peter Hutterer peter.hutterer at who-t.net
Tue Jan 4 20:22:02 PST 2011


On Tue, Dec 28, 2010 at 05:58:05PM +0000, Daniel Stone wrote:
> From: Chase Douglas <chase.douglas at canonical.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>
> Reviewed-by: Daniel Stone <daniel at fooishbar.org>

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


> ---
>  include/inputstr.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/inputstr.h b/include/inputstr.h
> index 159d7f6..7de7405 100644
> --- a/include/inputstr.h
> +++ b/include/inputstr.h
> @@ -254,11 +254,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.2.3
> 


More information about the xorg-devel mailing list