Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xf86-input-synaptics
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xorg
driver
xf86-input-synaptics
Commits
f1f58fff
Commit
f1f58fff
authored
Apr 27, 2016
by
Peter Hutterer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eventcomm: fix typo checking for two-finger scrolling
Signed-off-by:
Peter Hutterer
<
peter.hutterer@who-t.net
>
parent
0a4cf80a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/eventcomm.c
src/eventcomm.c
+1
-1
No files found.
src/eventcomm.c
View file @
f1f58fff
...
@@ -710,7 +710,7 @@ EventReadHwState(InputInfoPtr pInfo,
...
@@ -710,7 +710,7 @@ EventReadHwState(InputInfoPtr pInfo,
/* Reset cumulative values if buttons were not previously pressed and no
/* Reset cumulative values if buttons were not previously pressed and no
* two-finger scrolling is ongoing, or no finger was previously present. */
* two-finger scrolling is ongoing, or no finger was previously present. */
if
(((
!
hw
->
left
&&
!
hw
->
right
&&
!
hw
->
middle
)
&&
if
(((
!
hw
->
left
&&
!
hw
->
right
&&
!
hw
->
middle
)
&&
!
(
priv
->
vert_scroll_twofinger_on
||
priv
->
vert
_scroll_twofinger_on
))
||
!
(
priv
->
vert_scroll_twofinger_on
||
priv
->
horiz
_scroll_twofinger_on
))
||
hw
->
z
<
para
->
finger_low
)
{
hw
->
z
<
para
->
finger_low
)
{
hw
->
cumulative_dx
=
hw
->
x
;
hw
->
cumulative_dx
=
hw
->
x
;
hw
->
cumulative_dy
=
hw
->
y
;
hw
->
cumulative_dy
=
hw
->
y
;
...
...
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