mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-02 06:20:10 +01:00
touchpad: remove unused variable
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f0fa09c73f
commit
05bec98681
1 changed files with 0 additions and 3 deletions
|
|
@ -578,13 +578,10 @@ tp_gesture_handle_state(struct tp_dispatch *tp, uint64_t time)
|
|||
{
|
||||
unsigned int active_touches = 0;
|
||||
struct tp_touch *t;
|
||||
int i = 0;
|
||||
|
||||
tp_for_each_touch(tp, t) {
|
||||
if (tp_touch_active(tp, t))
|
||||
active_touches++;
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
if (active_touches != tp->gesture.finger_count) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue