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
93b63566
Commit
93b63566
authored
Nov 30, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ShowWindows(SW_SHOWMAXIMIZED) should ignore WS_MAXIMIZE window
state. Change tests accordingly.
parent
b78784c3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
msg.c
dlls/user/tests/msg.c
+3
-3
winpos.c
dlls/x11drv/winpos.c
+0
-2
No files found.
dlls/user/tests/msg.c
View file @
93b63566
...
...
@@ -3081,11 +3081,11 @@ static void test_showwindow(void)
trace
(
"calling ShowWindow( SW_SHOWMAXIMIZE ) for invisible popup window
\n
"
);
ShowWindow
(
hwnd
,
SW_SHOWMAXIMIZED
);
ok_sequence
(
WmShowMaxPopupResizedSeq
,
"ShowWindow(SW_SHOWMAXIMIZED):popup"
,
TRU
E
);
ok_sequence
(
WmShowMaxPopupResizedSeq
,
"ShowWindow(SW_SHOWMAXIMIZED):popup"
,
FALS
E
);
trace
(
"done
\n
"
);
GetWindowRect
(
hwnd
,
&
rc
);
todo_wine
ok
(
rc
.
right
-
rc
.
left
==
GetSystemMetrics
(
SM_CXSCREEN
)
&&
ok
(
rc
.
right
-
rc
.
left
==
GetSystemMetrics
(
SM_CXSCREEN
)
&&
rc
.
bottom
-
rc
.
top
==
GetSystemMetrics
(
SM_CYSCREEN
),
"Invalid maximized size after ShowWindow (%ld,%ld)-(%ld,%ld)
\n
"
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
);
...
...
@@ -3105,7 +3105,7 @@ static void test_showwindow(void)
trace
(
"calling ShowWindow( SW_SHOWMAXIMIZE ) for invisible popup window
\n
"
);
ShowWindow
(
hwnd
,
SW_SHOWMAXIMIZED
);
ok_sequence
(
WmShowMaxPopupSeq
,
"ShowWindow(SW_SHOWMAXIMIZED):popup"
,
TRU
E
);
ok_sequence
(
WmShowMaxPopupSeq
,
"ShowWindow(SW_SHOWMAXIMIZED):popup"
,
FALS
E
);
trace
(
"done
\n
"
);
DestroyWindow
(
hwnd
);
flush_sequence
();
...
...
dlls/x11drv/winpos.c
View file @
93b63566
...
...
@@ -966,9 +966,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
case
SW_SHOWMAXIMIZED
:
/* same as SW_MAXIMIZE */
swp
|=
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
;
if
(
!
(
style
&
WS_MAXIMIZE
)
)
swp
|=
WINPOS_MinMaximize
(
hwnd
,
SW_MAXIMIZE
,
&
newPos
);
else
swp
|=
SWP_NOSIZE
|
SWP_NOMOVE
;
break
;
case
SW_SHOWNA
:
...
...
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