[PATCH libinput] Tablet: Remove leftover-comment

Peter Hutterer peter.hutterer at who-t.net
Sun Feb 15 19:52:46 PST 2015


On Sun, Feb 15, 2015 at 07:06:34PM -0500, Stephen Chandler Paul wrote:
> Signed-off-by: Stephen Chandler Paul <thatslyude at gmail.com>
> ---
>  src/evdev-tablet.c | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
> index f80d642..fe09efc 100644
> --- a/src/evdev-tablet.c
> +++ b/src/evdev-tablet.c
> @@ -411,12 +411,7 @@ sanitize_tablet_axes(struct tablet_dispatch *tablet)
>  	distance = libevdev_get_abs_info(tablet->device->evdev, ABS_DISTANCE);
>  	pressure = libevdev_get_abs_info(tablet->device->evdev, ABS_PRESSURE);
>  
> -	/* Keep distance and pressure mutually exclusive. In addition, filter
> -	 * out invalid distance events that can occur when the tablet tool is
> -	 * close enough for the tablet to detect that's something's there, but
> -	 * not close enough for it to actually receive data from the tool
> -	 * properly
> -	 */
> +	/* Keep distance and pressure mutually exclusive */
>  	if (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_AXIS_DISTANCE) &&
>  	    distance->value > distance->minimum &&
>  	    pressure->value > pressure->minimum) {

merged, thanks.

Cheers,
   Peter


More information about the wayland-devel mailing list