[PATCH libinput 10/11] touchpad: a pressure change alone needs touch processing, mark as dirty

Hans de Goede hdegoede at redhat.com
Wed Jul 22 06:51:40 PDT 2015


Hi,

On 22-07-15 07:09, Peter Hutterer wrote:
> A thumb may not move, but may change pressure so we need to process
> accordingly.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Patches 8 - 10 LGTM:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans



> ---
>   src/evdev-mt-touchpad.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
> index c06b517..0b39bf6 100644
> --- a/src/evdev-mt-touchpad.c
> +++ b/src/evdev-mt-touchpad.c
> @@ -315,6 +315,8 @@ tp_process_absolute(struct tp_dispatch *tp,
>   		break;
>   	case ABS_MT_PRESSURE:
>   		t->pressure = e->value;
> +		t->dirty = true;
> +		tp->queued |= TOUCHPAD_EVENT_MOTION;
>   		break;
>   	}
>   }
>


More information about the wayland-devel mailing list