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
cd4d71e4
Commit
cd4d71e4
authored
Jun 27, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fetch the window menu again after sending initialization messages.
parent
b3317c5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
menu.c
dlls/user32/menu.c
+6
-0
No files found.
dlls/user32/menu.c
View file @
cd4d71e4
...
...
@@ -3356,6 +3356,9 @@ void MENU_TrackMouseMenuBar( HWND hWnd, INT ht, POINT pt )
if
(
IsMenu
(
hMenu
))
{
MENU_InitTracking
(
hWnd
,
hMenu
,
FALSE
,
wFlags
);
/* fetch the window menu again, it may have changed */
hMenu
=
(
ht
==
HTSYSMENU
)
?
get_win_sys_menu
(
hWnd
)
:
GetMenu
(
hWnd
);
MENU_TrackMenu
(
hMenu
,
wFlags
,
pt
.
x
,
pt
.
y
,
hWnd
,
NULL
);
MENU_ExitTracking
(
hWnd
,
FALSE
);
}
...
...
@@ -3396,6 +3399,9 @@ void MENU_TrackKbdMenuBar( HWND hwnd, UINT wParam, WCHAR wChar)
MENU_InitTracking
(
hwnd
,
hTrackMenu
,
FALSE
,
wFlags
);
/* fetch the window menu again, it may have changed */
hTrackMenu
=
(
wParam
&
HTSYSMENU
)
?
get_win_sys_menu
(
hwnd
)
:
GetMenu
(
hwnd
);
if
(
wChar
&&
wChar
!=
' '
)
{
uItem
=
MENU_FindItemByKey
(
hwnd
,
hTrackMenu
,
wChar
,
(
wParam
&
HTSYSMENU
)
);
...
...
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