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
91066025
Commit
91066025
authored
Dec 22, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a message test for various ShowWindow() calls, fix some failures.
parent
077b4024
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
msg.c
dlls/user32/tests/msg.c
+0
-0
winpos.c
dlls/winex11.drv/winpos.c
+3
-3
No files found.
dlls/user32/tests/msg.c
View file @
91066025
This diff is collapsed.
Click to expand it.
dlls/winex11.drv/winpos.c
View file @
91066025
...
...
@@ -594,14 +594,14 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
case
SW_SHOWMINIMIZED
:
swp
|=
SWP_SHOWWINDOW
|
SWP_FRAMECHANGED
;
swp
|=
WINPOS_MinMaximize
(
hwnd
,
cmd
,
&
newPos
);
if
(
style
&
WS_MINIMIZE
)
return
wasVisible
;
if
(
(
style
&
WS_MINIMIZE
)
&&
wasVisible
)
return
TRUE
;
break
;
case
SW_SHOWMAXIMIZED
:
/* same as SW_MAXIMIZE */
if
(
!
wasVisible
)
swp
|=
SWP_SHOWWINDOW
;
swp
|=
SWP_FRAMECHANGED
;
swp
|=
WINPOS_MinMaximize
(
hwnd
,
SW_MAXIMIZE
,
&
newPos
);
if
((
style
&
WS_MAXIMIZE
)
&&
wasVisible
)
return
wasVisible
;
if
((
style
&
WS_MAXIMIZE
)
&&
wasVisible
)
return
TRUE
;
break
;
case
SW_SHOWNA
:
...
...
@@ -769,7 +769,7 @@ void X11DRV_UnmapNotify( HWND hwnd, XEvent *event )
{
if
(
win
->
dwStyle
&
WS_MAXIMIZE
)
win
->
flags
|=
WIN_RESTORE_MAX
;
else
else
if
(
!
(
win
->
dwStyle
&
WS_MINIMIZE
))
win
->
flags
&=
~
WIN_RESTORE_MAX
;
WIN_SetStyle
(
hwnd
,
WS_MINIMIZE
,
WS_MAXIMIZE
);
...
...
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