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
2193a701
Commit
2193a701
authored
Sep 19, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a few more message test failures.
parent
d88cfec9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
msg.c
dlls/user32/tests/msg.c
+6
-4
No files found.
dlls/user32/tests/msg.c
View file @
2193a701
...
...
@@ -919,6 +919,7 @@ static const struct message WmShowChildInvisibleParentSeq_1[] = {
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOCOPYBITS
|
SWP_STATECHANGED
},
{
WM_NCCALCSIZE
,
sent
|
wparam
,
1
},
{
EVENT_OBJECT_SHOW
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_CHILDACTIVATE
,
sent
|
optional
},
{
WM_WINDOWPOSCHANGED
,
sent
|
wparam
,
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOREDRAW
|
SWP_NOCOPYBITS
|
SWP_STATECHANGED
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_MINIMIZED
},
...
...
@@ -1674,7 +1675,7 @@ static void flush_events(void)
if
(
MsgWaitForMultipleObjects
(
0
,
NULL
,
FALSE
,
min_timeout
,
QS_ALLINPUT
)
==
WAIT_TIMEOUT
)
break
;
while
(
PeekMessage
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessage
(
&
msg
);
diff
=
time
-
GetTickCount
();
min_timeout
=
1
0
;
min_timeout
=
2
0
;
}
}
...
...
@@ -2690,7 +2691,7 @@ static const struct message WmMaximizeMDIchildInvisibleSeq2[] = {
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
|
defwinproc
|
optional
,
SWP_NOACTIVATE
|
SWP_NOSIZE
|
SWP_NOMOVE
},
{
WM_NCACTIVATE
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
{
HCBT_SETFOCUS
,
hook
},
{
HCBT_SETFOCUS
,
hook
|
optional
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
/* in MDI client */
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
WM_SETFOCUS
,
sent
|
optional
},
/* in MDI client */
...
...
@@ -8435,6 +8436,7 @@ struct sendmsg_info
static
DWORD
CALLBACK
send_msg_thread
(
LPVOID
arg
)
{
struct
sendmsg_info
*
info
=
arg
;
SetLastError
(
0xdeadbeef
);
info
->
ret
=
SendMessageTimeoutA
(
info
->
hwnd
,
WM_USER
,
0
,
0
,
0
,
info
->
timeout
,
NULL
);
if
(
!
info
->
ret
)
ok
(
GetLastError
()
==
ERROR_TIMEOUT
,
"unexpected error %d
\n
"
,
GetLastError
());
return
0
;
...
...
@@ -9341,8 +9343,8 @@ static void pump_msg_loop_timeout(DWORD timeout, BOOL inject_mouse_move)
DWORD
start_ticks
,
end_ticks
;
start_ticks
=
GetTickCount
();
/* add some deviation (5%) to cover not expected delays */
start_ticks
+=
timeout
/
2
0
;
/* add some deviation (5
0
%) to cover not expected delays */
start_ticks
+=
timeout
/
2
;
do
{
...
...
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