[PATCH] synaptics: abi 20.0 should disable driver scaling too

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 17 13:53:18 PST 2014


On Mon, Feb 17, 2014 at 01:49:53PM +0100, Maarten Lankhorst wrote:
> .. At least I really hope that this is the case.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>

Already fixed upstream as 49fe70e99d1b0932ab915824c78f952a0fdb3ee7

Cheers,
   Peter

> ---
> diff --git a/src/synapticsstr.h b/src/synapticsstr.h
> index a9901a2..0b3ff6e 100644
> --- a/src/synapticsstr.h
> +++ b/src/synapticsstr.h
> @@ -28,13 +28,11 @@
>  #define LogMessageVerbSigSafe xf86MsgVerb
>  #endif
> -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 19
> -#if GET_ABI_MINOR(ABI_XINPUT_VERSION) >= 2
> +#if ABI_XINPUT_VERSION >= SET_ABI_VERSION(19, 2)
>  /* as of 19.2, the server takes device resolution into account when scaling
>     relative events from abs device, so we must not scale in synaptics. */
>  #define NO_DRIVER_SCALING 1
>  #endif
> -#endif
>  #ifdef DBG
>  #undef DBG
> 


More information about the xorg-devel mailing list