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
61b5e90d
Commit
61b5e90d
authored
Jan 11, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Alt press/release test actually pass for not managed windows.
parent
6a8268f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
menu.c
dlls/user/menu.c
+12
-14
No files found.
dlls/user/menu.c
View file @
61b5e90d
...
...
@@ -2943,24 +2943,22 @@ void MENU_TrackKbdMenuBar( HWND hwnd, UINT wParam, WCHAR wChar)
goto
track_menu
;
}
}
else
{
/* prevent sysmenu activation for managed windows on Alt down/up */
if
((
wParam
&
HTSYSMENU
)
&&
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_MANAGED
))
{
MENU_SelectItem
(
hwnd
,
hTrackMenu
,
0
,
TRUE
,
0
);
/* schedule end of menu tracking */
wFlags
|=
TF_ENDMENU
;
goto
track_menu
;
}
}
MENU_SelectItem
(
hwnd
,
hTrackMenu
,
uItem
,
TRUE
,
0
);
if
(
uItem
==
NO_SELECTED_ITEM
)
MENU_MoveSelection
(
hwnd
,
hTrackMenu
,
ITEM_NEXT
);
if
(
wParam
&
HTSYSMENU
)
{
/* prevent sysmenu activation for managed windows on Alt down/up */
if
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_MANAGED
)
wFlags
|=
TF_ENDMENU
;
/* schedule end of menu tracking */
}
else
PostMessageW
(
hwnd
,
WM_KEYDOWN
,
VK_DOWN
,
0L
);
{
if
(
uItem
==
NO_SELECTED_ITEM
)
MENU_MoveSelection
(
hwnd
,
hTrackMenu
,
ITEM_NEXT
);
else
PostMessageW
(
hwnd
,
WM_KEYDOWN
,
VK_DOWN
,
0L
);
}
track_menu:
MENU_TrackMenu
(
hTrackMenu
,
wFlags
,
0
,
0
,
hwnd
,
NULL
);
...
...
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