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
cb2b1592
Commit
cb2b1592
authored
Jun 13, 2014
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jun 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't close a popup menu when clicking a sub-menu parent item twice.
parent
c6de8ad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
menu.c
dlls/user32/menu.c
+3
-2
No files found.
dlls/user32/menu.c
View file @
cb2b1592
...
...
@@ -2617,13 +2617,14 @@ static INT MENU_ButtonUp( MTRACKER* pmt, HMENU hPtMenu, UINT wFlags)
return
executedMenuId
;
}
/* If we are dealing with the
top-level menu
*/
/* If we are dealing with the
menu bar
*/
/* and this is a click on an already "popped" item: */
/* Stop the menu tracking and close the opened submenus */
if
((
pmt
->
hTopMenu
==
hPtMenu
)
&&
ptmenu
->
bTimeToHide
)
return
0
;
}
ptmenu
->
bTimeToHide
=
TRUE
;
if
(
GetMenu
(
ptmenu
->
hWnd
)
==
hPtMenu
)
ptmenu
->
bTimeToHide
=
TRUE
;
}
return
-
1
;
}
...
...
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