Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
accfce21
Commit
accfce21
authored
Mar 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a couple of message test failures.
parent
8ac29dd4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
msg.c
dlls/user32/tests/msg.c
+2
-2
winpos.c
dlls/user32/winpos.c
+3
-2
No files found.
dlls/user32/tests/msg.c
View file @
accfce21
...
...
@@ -9346,8 +9346,8 @@ static void test_ShowWindow(void)
/* 31 */
{
SW_RESTORE
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
/* 32 */
{
SW_HIDE
,
TRUE
,
0
,
WmHide_3
,
TRUE
},
/* 33 */
{
SW_HIDE
,
FALSE
,
0
,
WmEmptySeq
,
FALSE
},
/* 34 */
{
SW_NORMALNA
,
FALSE
,
0
,
WmEmptySeq
,
TRU
E
},
/* what does this mean?! */
/* 35 */
{
SW_NORMALNA
,
FALSE
,
0
,
WmEmptySeq
,
TRU
E
},
/* 34 */
{
SW_NORMALNA
,
FALSE
,
0
,
WmEmptySeq
,
FALS
E
},
/* what does this mean?! */
/* 35 */
{
SW_NORMALNA
,
FALSE
,
0
,
WmEmptySeq
,
FALS
E
},
/* 36 */
{
SW_HIDE
,
FALSE
,
0
,
WmEmptySeq
,
FALSE
},
/* 37 */
{
SW_RESTORE
,
FALSE
,
WS_VISIBLE
,
WmRestore_2
,
FALSE
},
/* 38 */
{
SW_RESTORE
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
...
...
dlls/user32/winpos.c
View file @
accfce21
...
...
@@ -1052,8 +1052,7 @@ static BOOL show_window( HWND hwnd, INT cmd )
if
(
!
wasVisible
)
return
FALSE
;
showFlag
=
FALSE
;
swp
|=
SWP_HIDEWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
;
if
(
hwnd
!=
GetActiveWindow
())
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
if
(
style
&
WS_CHILD
)
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
break
;
case
SW_SHOWMINNOACTIVE
:
...
...
@@ -1106,6 +1105,8 @@ static BOOL show_window( HWND hwnd, INT cmd )
}
if
(
style
&
WS_CHILD
&&
!
(
swp
&
SWP_STATECHANGED
))
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
break
;
default:
return
wasVisible
;
}
if
((
showFlag
!=
wasVisible
||
cmd
==
SW_SHOWNA
)
&&
cmd
!=
SW_SHOWMAXIMIZED
&&
!
(
swp
&
SWP_STATECHANGED
))
...
...
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