mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 14:10:08 +01:00
touchpad: style fix, add missing curlies
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1f5c0119e4
commit
98bfb9f187
1 changed files with 2 additions and 2 deletions
|
|
@ -1124,9 +1124,9 @@ tp_thumb_detect(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
|
|||
}
|
||||
|
||||
/* If the thumb moves by more than 7mm, it's not a resting thumb */
|
||||
if (t->state == TOUCH_BEGIN)
|
||||
if (t->state == TOUCH_BEGIN) {
|
||||
t->thumb.initial = t->point;
|
||||
else if (t->state == TOUCH_UPDATE) {
|
||||
} else if (t->state == TOUCH_UPDATE) {
|
||||
struct device_float_coords delta;
|
||||
struct phys_coords mm;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue