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:
6896bfd
)
touchpad: fix typo in comment
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 14 Jul 2015 21:33:12 +0000
(07:33 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 14 Jul 2015 21:33:12 +0000
(07:33 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad-buttons.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad-buttons.c
b/src/evdev-mt-touchpad-buttons.c
index
d9c469a
..
5ecdccd
100644
(file)
--- a/
src/evdev-mt-touchpad-buttons.c
+++ b/
src/evdev-mt-touchpad-buttons.c
@@
-530,7
+530,7
@@
tp_init_softbuttons(struct tp_dispatch *tp,
width = device->abs.dimensions.x;
height = device->abs.dimensions.y;
- /* button height: 10mm or 15% or
f
the touchpad height,
+ /* button height: 10mm or 15% or the touchpad height,
whichever is smaller */
if ((height * 0.15)/yres > 10) {
tp->buttons.bottom_area.top_edge =