[PATCH xserver 07/10] Reorder AxisInfo elements

Peter Hutterer peter.hutterer at who-t.net
Tue Dec 21 17:45:57 PST 2010


On Fri, Dec 17, 2010 at 05:13:32PM +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>
> ---
>  include/inputstr.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/inputstr.h b/include/inputstr.h
> index bada398..264d715 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;

this needs an ABI bump, can you please add one to your tree? Not sure if
there's another bump coming in the next cycle, best to keep it in a separate
commit.
 
Cheers,
  Peter


More information about the xorg-devel mailing list