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
9849f164
Commit
9849f164
authored
Jul 27, 1999
by
Abey George
Committed by
Alexandre Julliard
Jul 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send normal mouse messages to WM_SETCURSOR when non-client mouse
messages occur.
parent
f18e7c32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
message.c
windows/message.c
+10
-1
No files found.
windows/message.c
View file @
9849f164
...
...
@@ -337,8 +337,17 @@ static DWORD MSG_ProcessMouseMsg( MSG *msg, BOOL remove, INT16 hittest,
/* Send the WM_SETCURSOR message */
if
(
sendSC
)
{
UINT
uSCMessage
=
message
;
/* Windows sends the normal mouse message as the message parameter
in the WM_SETCURSOR message even if it's non-client mouse message */
if
(
uSCMessage
>=
WM_NCMOUSEFIRST
&&
uSCMessage
<=
WM_NCMOUSELAST
)
uSCMessage
+=
WM_MOUSEFIRST
-
WM_NCMOUSEFIRST
;
SendMessageA
(
hWnd
,
WM_SETCURSOR
,
hWnd
,
MAKELONG
(
hittest
,
message
));
MAKELONG
(
hittest
,
uSCMessage
));
}
if
(
eatMsg
)
{
retvalue
=
MAKELONG
(
(
UINT16
)
SYSQ_MSG_SKIP
,
hittest
);
...
...
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