[PATCH libevdev 5/7] Set the size for repeat delays based on REP_MAX
Benjamin Tissoires
benjamin.tissoires at gmail.com
Tue Jul 30 01:40:28 PDT 2013
On Mon, Jul 29, 2013 at 6:06 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> libevdev/libevdev-int.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libevdev/libevdev-int.h b/libevdev/libevdev-int.h
> index 34f8e05..b6a0341 100644
> --- a/libevdev/libevdev-int.h
> +++ b/libevdev/libevdev-int.h
> @@ -93,7 +93,7 @@ struct libevdev {
> unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
> int num_slots; /**< valid slots in mt_slot_vals */
> int current_slot;
> - int rep_values[2];
> + int rep_values[REP_MAX];
Shouldn't we use REP_CNT here?
REP_MAX's value is "1"...
Cheers,
Benjamin
>
> enum SyncState sync_state;
> int grabbed;
> --
> 1.8.2.1
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools
More information about the Input-tools
mailing list