Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
libinput
libinput
Commits
60d9defd
Commit
60d9defd
authored
Oct 04, 2018
by
Peter Hutterer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
touchpad: don't calculate movement for an already-moved touch
Signed-off-by:
Peter Hutterer
<
peter.hutterer@who-t.net
>
parent
d98e4749
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/evdev-mt-touchpad-buttons.c
src/evdev-mt-touchpad-buttons.c
+3
-0
No files found.
src/evdev-mt-touchpad-buttons.c
View file @
60d9defd
...
...
@@ -464,6 +464,9 @@ tp_button_check_for_movement(struct tp_dispatch *tp, struct tp_touch *t)
struct
phys_coords
mm
;
double
vector_length
;
if
(
t
->
button
.
has_moved
)
return
;
switch
(
t
->
button
.
state
)
{
case
BUTTON_STATE_NONE
:
case
BUTTON_STATE_AREA
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment