Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9ea673a4
Commit
9ea673a4
authored
Dec 10, 2002
by
Mike Hearn
Committed by
Alexandre Julliard
Dec 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make WM_MOUSEHOVER coordinates client relative.
parent
31e46290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
input.c
windows/input.c
+5
-1
No files found.
windows/input.c
View file @
9ea673a4
...
...
@@ -931,6 +931,7 @@ static void CALLBACK TrackMouseEventProc(HWND hwndUnused, UINT uMsg, UINT_PTR id
{
int
i
=
0
;
POINT
pos
;
POINT
posClient
;
HWND
hwnd
;
INT
hoverwidth
=
0
,
hoverheight
=
0
;
...
...
@@ -970,8 +971,11 @@ static void CALLBACK TrackMouseEventProc(HWND hwndUnused, UINT uMsg, UINT_PTR id
/* has the mouse hovered long enough? */
if
(
TrackingList
[
i
].
iHoverTime
<=
TrackingList
[
i
].
tme
.
dwHoverTime
)
{
posClient
.
x
=
pos
.
x
;
posClient
.
y
=
pos
.
y
;
ScreenToClient
(
hwnd
,
&
posClient
);
PostMessageW
(
TrackingList
[
i
].
tme
.
hwndTrack
,
WM_MOUSEHOVER
,
get_key_state
(),
MAKELPARAM
(
pos
.
x
,
pos
.
y
));
get_key_state
(),
MAKELPARAM
(
pos
Client
.
x
,
posClient
.
y
));
/* stop tracking mouse hover */
TrackingList
[
i
].
tme
.
dwFlags
^=
TME_HOVER
;
...
...
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