On Mon, Mar 04, 2013 at 06:33:03PM +0100, Jan Alexander Steffens (heftig) wrote:
> From: "Jan Alexander Steffens (heftig)" <jan.steff...@gmail.com>
> 
> Tested with a tablet pc, allowing finger scrolling in GTK3.
> 
> Signed-off-by: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>

Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net>

Cheers,
   Peter


> ---
>  src/xf86Wacom.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
> index 4d38bb3..afce778 100644
> --- a/src/xf86Wacom.c
> +++ b/src/xf86Wacom.c
> @@ -422,7 +422,10 @@ static int wcmDevInit(DeviceIntPtr pWcm)
>  
>  #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16
>       if (IsTouch(priv)) {
> -             if (!InitTouchClassDeviceStruct(pInfo->dev, 
> common->wcmMaxContacts, XIDependentTouch, 2)) {
> +             if (!InitTouchClassDeviceStruct(pInfo->dev, 
> common->wcmMaxContacts,
> +                                             TabletHasFeature(common, 
> WCM_LCD) ? XIDirectTouch : XIDependentTouch,
> +                                             2))
> +             {
>                       xf86Msg(X_ERROR, "Unable to init touch class device 
> struct!\n");
>                       return FALSE;
>               }
> -- 
> 1.8.1.5

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to