Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4598c973
Commit
4598c973
authored
Jul 07, 2006
by
Thomas Kho
Committed by
Alexandre Julliard
Jul 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Use correct multiplier for negative relative mouse movements.
parent
b0dfe404
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mouse.c
dlls/winex11.drv/mouse.c
+4
-4
No files found.
dlls/winex11.drv/mouse.c
View file @
4598c973
...
...
@@ -255,15 +255,15 @@ void X11DRV_send_mouse_input( HWND hwnd, DWORD flags, DWORD x, DWORD y,
/* dx and dy can be negative numbers for relative movements */
SystemParametersInfoW
(
SPI_GETMOUSE
,
0
,
accel
,
0
);
if
(
x
>
accel
[
0
]
&&
accel
[
2
]
!=
0
)
if
(
abs
(
x
)
>
accel
[
0
]
&&
accel
[
2
]
!=
0
)
{
xMult
=
2
;
if
((
x
>
accel
[
1
])
&&
(
accel
[
2
]
==
2
))
xMult
=
4
;
if
((
abs
(
x
)
>
accel
[
1
])
&&
(
accel
[
2
]
==
2
))
xMult
=
4
;
}
if
(
y
>
accel
[
0
]
&&
accel
[
2
]
!=
0
)
if
(
abs
(
y
)
>
accel
[
0
]
&&
accel
[
2
]
!=
0
)
{
yMult
=
2
;
if
((
y
>
accel
[
1
])
&&
(
accel
[
2
]
==
2
))
yMult
=
4
;
if
((
abs
(
y
)
>
accel
[
1
])
&&
(
accel
[
2
]
==
2
))
yMult
=
4
;
}
wine_tsx11_lock
();
...
...
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