projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f5c011
)
touchpad: style fix, add missing curlies
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 31 Aug 2018 04:52:37 +0000
(14:52 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 4 Sep 2018 00:44:02 +0000
(10:44 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad.c
b/src/evdev-mt-touchpad.c
index
18289ea
..
afdd3e9
100644
(file)
--- a/
src/evdev-mt-touchpad.c
+++ b/
src/evdev-mt-touchpad.c
@@
-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;