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
1b9fac3b
Commit
1b9fac3b
authored
Aug 26, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Aug 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't generate scroll wheel events for axes with 0 delta.
parent
b755674d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
mouse.c
dlls/winemac.drv/mouse.c
+8
-6
No files found.
dlls/winemac.drv/mouse.c
View file @
1b9fac3b
...
...
@@ -911,12 +911,14 @@ void macdrv_mouse_scroll(HWND hwnd, const macdrv_event *event)
event
->
mouse_scroll
.
x
,
event
->
mouse_scroll
.
y
,
event
->
mouse_scroll
.
time_ms
,
(
GetTickCount
()
-
event
->
mouse_scroll
.
time_ms
));
send_mouse_input
(
hwnd
,
event
->
window
,
MOUSEEVENTF_WHEEL
|
MOUSEEVENTF_ABSOLUTE
|
MOUSEEVENTF_MOVE
,
event
->
mouse_scroll
.
x
,
event
->
mouse_scroll
.
y
,
event
->
mouse_scroll
.
y_scroll
,
FALSE
,
event
->
mouse_scroll
.
time_ms
);
send_mouse_input
(
hwnd
,
event
->
window
,
MOUSEEVENTF_HWHEEL
|
MOUSEEVENTF_ABSOLUTE
|
MOUSEEVENTF_MOVE
,
event
->
mouse_scroll
.
x
,
event
->
mouse_scroll
.
y
,
event
->
mouse_scroll
.
x_scroll
,
FALSE
,
event
->
mouse_scroll
.
time_ms
);
if
(
event
->
mouse_scroll
.
y_scroll
)
send_mouse_input
(
hwnd
,
event
->
window
,
MOUSEEVENTF_WHEEL
|
MOUSEEVENTF_ABSOLUTE
|
MOUSEEVENTF_MOVE
,
event
->
mouse_scroll
.
x
,
event
->
mouse_scroll
.
y
,
event
->
mouse_scroll
.
y_scroll
,
FALSE
,
event
->
mouse_scroll
.
time_ms
);
if
(
event
->
mouse_scroll
.
x_scroll
)
send_mouse_input
(
hwnd
,
event
->
window
,
MOUSEEVENTF_HWHEEL
|
MOUSEEVENTF_ABSOLUTE
|
MOUSEEVENTF_MOVE
,
event
->
mouse_scroll
.
x
,
event
->
mouse_scroll
.
y
,
event
->
mouse_scroll
.
x_scroll
,
FALSE
,
event
->
mouse_scroll
.
time_ms
);
}
...
...
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