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
ae6de763
Commit
ae6de763
authored
Jan 09, 2000
by
Pascal Lessard
Committed by
Alexandre Julliard
Jan 09, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop menu tracking when clicking on the menu bar where there is no
menu item.
parent
d9ba02d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
menu.c
controls/menu.c
+6
-1
No files found.
controls/menu.c
View file @
ae6de763
...
...
@@ -2635,7 +2635,12 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
fEndMenu
=
FALSE
;
if
(
!
(
menu
=
(
POPUPMENU
*
)
USER_HEAP_LIN_ADDR
(
hmenu
)))
return
FALSE
;
if
(
wFlags
&
TPM_BUTTONDOWN
)
MENU_ButtonDown
(
&
mt
,
hmenu
,
wFlags
);
if
(
wFlags
&
TPM_BUTTONDOWN
)
{
/* Get the result in order to start the tracking or not */
fRemove
=
MENU_ButtonDown
(
&
mt
,
hmenu
,
wFlags
);
fEndMenu
=
!
fRemove
;
}
EVENT_Capture
(
mt
.
hOwnerWnd
,
HTMENU
);
...
...
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