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
9c9c0304
Commit
9c9c0304
authored
Oct 30, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Oct 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use WS_MINIMIZE instead of WS_ICONIC.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9ca53840
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nonclient.c
dlls/user32/nonclient.c
+3
-3
No files found.
dlls/user32/nonclient.c
View file @
9c9c0304
...
...
@@ -378,7 +378,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRect( LPRECT rect, DWORD style, BOOL m
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
AdjustWindowRectEx
(
LPRECT
rect
,
DWORD
style
,
BOOL
menu
,
DWORD
exStyle
)
{
if
(
style
&
WS_
ICONIC
)
return
TRUE
;
if
(
style
&
WS_
MINIMIZE
)
return
TRUE
;
style
&=
~
(
WS_HSCROLL
|
WS_VSCROLL
);
TRACE
(
"(%s) %08x %d %08x
\n
"
,
wine_dbgstr_rect
(
rect
),
style
,
menu
,
exStyle
);
...
...
@@ -409,7 +409,7 @@ LRESULT NC_HandleNCCalcSize( HWND hwnd, WPARAM wparam, RECT *winRect )
if
(
cls_style
&
CS_VREDRAW
)
result
|=
WVR_VREDRAW
;
if
(
cls_style
&
CS_HREDRAW
)
result
|=
WVR_HREDRAW
;
if
(
!
(
style
&
WS_
ICONIC
))
if
(
!
(
style
&
WS_
MINIMIZE
))
{
NC_AdjustRectOuter
(
&
tmpRect
,
style
,
FALSE
,
exStyle
);
...
...
@@ -472,7 +472,7 @@ static void NC_GetInsideRect( HWND hwnd, enum coords_relative relative, RECT *re
{
WIN_GetRectangles
(
hwnd
,
relative
,
rect
,
NULL
);
if
(
style
&
WS_
ICONIC
)
return
;
if
(
style
&
WS_
MINIMIZE
)
return
;
/* Remove frame from rectangle */
if
(
HAS_THICKFRAME
(
style
,
ex_style
))
...
...
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