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
d6dc9172
Commit
d6dc9172
authored
Feb 04, 2024
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Feb 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix test_recursive_messages() test failures on win7.
Windows 7 has a lower maximum depth for recursive hooks. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56293
parent
2b01a64f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msg.c
dlls/user32/tests/msg.c
+2
-2
No files found.
dlls/user32/tests/msg.c
View file @
d6dc9172
...
...
@@ -12645,7 +12645,7 @@ static LRESULT WINAPI recursive_messages_proc(HWND hwnd, UINT message, WPARAM wp
static
int
msg_depth
;
MSG
msg
;
if
(
message
==
WM_SETCURSOR
&&
max_msg_depth
<
2
5
)
if
(
message
==
WM_SETCURSOR
&&
max_msg_depth
<
1
5
)
{
msg_depth
++
;
max_msg_depth
=
max
(
max_msg_depth
,
msg_depth
);
...
...
@@ -12678,7 +12678,7 @@ static void test_recursive_messages(void)
flush_events
();
/* Expect recursive_messages_proc() gets called recursively for WM_SETCURSOR */
ok
(
max_msg_depth
==
2
5
,
"Got expected %d.
\n
"
,
max_msg_depth
);
ok
(
max_msg_depth
==
1
5
,
"Got expected %d.
\n
"
,
max_msg_depth
);
DestroyWindow
(
hwnd
);
UnregisterClassA
(
cls
.
lpszClassName
,
cls
.
hInstance
);
...
...
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