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
9c141d4a
Commit
9c141d4a
authored
Apr 02, 2004
by
Bobby Bingham
Committed by
Alexandre Julliard
Apr 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tracking the currently highlighted item in menus when the mouse
button is not held down.
parent
75687344
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
menu.c
controls/menu.c
+3
-6
No files found.
controls/menu.c
View file @
9c141d4a
...
...
@@ -2675,13 +2675,10 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
break
;
case
WM_MOUSEMOVE
:
/* In win95 winelook, the selected menu item must be changed every time the
mouse moves. In Win31 winelook, the mouse button has to be held down */
if
(
hmenu
&&
(
(
msg
.
wParam
&
MK_LBUTTON
)
||
((
wFlags
&
TPM_RIGHTBUTTON
)
&&
(
msg
.
wParam
&
MK_RBUTTON
)))
)
/* the selected menu item must be changed every time */
/* the mouse moves. */
if
(
hmenu
)
fEndMenu
|=
!
MENU_MouseMove
(
&
mt
,
hmenu
,
wFlags
);
}
/* switch(msg.message) - mouse */
...
...
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