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
d0e1dd84
Commit
d0e1dd84
authored
Apr 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a few ShowWindow todo tests.
parent
f6662c7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
msg.c
dlls/user32/tests/msg.c
+4
-4
winpos.c
dlls/user32/winpos.c
+1
-3
No files found.
dlls/user32/tests/msg.c
View file @
d0e1dd84
...
...
@@ -9443,7 +9443,7 @@ static void test_ShowWindow(void)
/* 16 */
{
SW_HIDE
,
FALSE
,
0
,
WmEmptySeq
,
FALSE
},
/* 17 */
{
SW_SHOW
,
FALSE
,
WS_VISIBLE
,
WmShow
,
FALSE
},
/* 18 */
{
SW_SHOW
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
/* 19 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_1
,
TRU
E
},
/* 19 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_1
,
FALS
E
},
/* 20 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinMax_3
,
FALSE
},
/* 21 */
{
SW_HIDE
,
TRUE
,
WS_MINIMIZE
,
WmHide_2
,
FALSE
},
/* 22 */
{
SW_SHOWMINNOACTIVE
,
FALSE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmShowMinNoActivate
,
TRUE
},
...
...
@@ -9464,11 +9464,11 @@ static void test_ShowWindow(void)
/* 37 */
{
SW_RESTORE
,
FALSE
,
WS_VISIBLE
,
WmRestore_2
,
FALSE
},
/* 38 */
{
SW_RESTORE
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
/* 39 */
{
SW_SHOWNOACTIVATE
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
/* 40 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_2
,
TRU
E
},
/* 40 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_2
,
FALS
E
},
/* 41 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinMax_3
,
FALSE
},
/* 42 */
{
SW_SHOWMAXIMIZED
,
TRUE
,
WS_VISIBLE
|
WS_MAXIMIZE
,
WmShowMaximized_2
,
TRUE
},
/* 43 */
{
SW_SHOWMAXIMIZED
,
TRUE
,
WS_VISIBLE
|
WS_MAXIMIZE
,
WmMinMax_2
,
FALSE
},
/* 44 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_1
,
TRU
E
},
/* 44 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_1
,
FALS
E
},
/* 45 */
{
SW_MINIMIZE
,
TRUE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinMax_3
,
FALSE
},
/* 46 */
{
SW_RESTORE
,
TRUE
,
WS_VISIBLE
|
WS_MAXIMIZE
,
WmRestore_3
,
FALSE
},
/* 47 */
{
SW_RESTORE
,
TRUE
,
WS_VISIBLE
,
WmRestore_4
,
FALSE
},
...
...
@@ -9478,7 +9478,7 @@ static void test_ShowWindow(void)
/* 51 */
{
SW_SHOWNORMAL
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
},
/* 52 */
{
SW_HIDE
,
TRUE
,
0
,
WmHide_1
,
FALSE
},
/* 53 */
{
SW_HIDE
,
FALSE
,
0
,
WmEmptySeq
,
FALSE
},
/* 54 */
{
SW_MINIMIZE
,
FALSE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_3
,
TRU
E
},
/* 54 */
{
SW_MINIMIZE
,
FALSE
,
WS_VISIBLE
|
WS_MINIMIZE
,
WmMinimize_3
,
FALS
E
},
/* 55 */
{
SW_HIDE
,
TRUE
,
WS_MINIMIZE
,
WmHide_2
,
FALSE
},
/* 56 */
{
SW_SHOWNOACTIVATE
,
FALSE
,
WS_VISIBLE
,
WmShowNoActivate_2
,
FALSE
},
/* 57 */
{
SW_SHOW
,
TRUE
,
WS_VISIBLE
,
WmEmptySeq
,
FALSE
}
...
...
dlls/user32/winpos.c
View file @
d0e1dd84
...
...
@@ -983,11 +983,9 @@ static BOOL show_window( HWND hwnd, INT cmd )
break
;
case
SW_SHOWMINNOACTIVE
:
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
/* fall through */
case
SW_MINIMIZE
:
case
SW_FORCEMINIMIZE
:
/* FIXME: Does not work if thread is hung. */
if
(
style
&
WS_CHILD
)
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
/* fall through */
case
SW_SHOWMINIMIZED
:
swp
|=
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
;
...
...
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