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
023af7c3
Commit
023af7c3
authored
Nov 25, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a few msg test failures on Windows 7.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e38c874
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msg.c
dlls/user32/tests/msg.c
+4
-4
No files found.
dlls/user32/tests/msg.c
View file @
023af7c3
...
...
@@ -7300,7 +7300,7 @@ static const struct message WmAltPressRelease[] = {
{
EVENT_SYSTEM_CAPTURESTART
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_INITMENU
,
sent
|
defwinproc
},
{
EVENT_SYSTEM_MENUSTART
,
winevent_hook
|
wparam
|
lparam
,
OBJID_SYSMENU
,
0
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
,
0
,
MAKEWPARAM
(
0
,
MF_RIGHTJUSTIFY
)
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_SYSMENU
,
1
},
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_MENU
,
0x30000001
},
/* XP */
...
...
@@ -7367,7 +7367,7 @@ static const struct message WmVkF10Seq[] = {
{
EVENT_SYSTEM_CAPTURESTART
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_INITMENU
,
sent
|
defwinproc
},
{
EVENT_SYSTEM_MENUSTART
,
winevent_hook
|
wparam
|
lparam
,
OBJID_SYSMENU
,
0
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
,
0
,
MAKEWPARAM
(
0
,
MF_RIGHTJUSTIFY
)
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_SYSMENU
,
1
},
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_F10
,
0x10000001
},
/* XP */
...
...
@@ -7399,7 +7399,7 @@ static const struct message WmShiftF10Seq[] = {
{
HCBT_SYSCOMMAND
,
hook
},
{
WM_ENTERMENULOOP
,
sent
|
defwinproc
|
wparam
|
lparam
,
0
,
0
},
{
WM_INITMENU
,
sent
|
defwinproc
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
},
{
WM_MENUSELECT
,
sent
|
defwinproc
|
wparam
,
MAKEWPARAM
(
0
,
MF_SYSMENU
|
MF_POPUP
|
MF_HILITE
)
,
0
,
MAKEWPARAM
(
0
,
MF_RIGHTJUSTIFY
)
},
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_SHIFT
,
0xd0000001
},
/* XP */
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_ESCAPE
,
0x10000001
},
/* XP */
{
WM_CAPTURECHANGED
,
sent
|
defwinproc
|
wparam
|
lparam
,
0
,
0
},
...
...
@@ -9239,7 +9239,7 @@ static void test_recursive_hook(void)
hook_depth
=
0
;
GetMessageW
(
&
msg
,
hook_hwnd
,
0
,
0
);
ok
(
15
<
max_hook_depth
&&
max_hook_depth
<
45
,
"max_hook_depth = %d
\n
"
,
max_hook_depth
);
ok
(
15
<
=
max_hook_depth
&&
max_hook_depth
<
45
,
"max_hook_depth = %d
\n
"
,
max_hook_depth
);
trace
(
"max_hook_depth = %d
\n
"
,
max_hook_depth
);
b
=
UnhookWindowsHookEx
(
recursive_hook
);
...
...
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