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
23f26266
Commit
23f26266
authored
Feb 19, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: AdjustWindowRect() shouldn't ignore WS_MINIMIZE.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
118f333a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
nonclient.c
dlls/user32/nonclient.c
+0
-4
win.c
dlls/user32/tests/win.c
+1
-1
No files found.
dlls/user32/nonclient.c
View file @
23f26266
...
...
@@ -315,8 +315,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL
{
NONCLIENTMETRICSW
ncm
;
if
(
style
&
WS_MINIMIZE
)
return
TRUE
;
TRACE
(
"(%s) %08x %d %08x
\n
"
,
wine_dbgstr_rect
(
rect
),
style
,
menu
,
exStyle
);
ncm
.
cbSize
=
sizeof
(
ncm
);
...
...
@@ -335,8 +333,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRectExForDpi( LPRECT rect, DWORD style
{
NONCLIENTMETRICSW
ncm
;
if
(
style
&
WS_MINIMIZE
)
return
TRUE
;
TRACE
(
"(%s) %08x %d %08x %u
\n
"
,
wine_dbgstr_rect
(
rect
),
style
,
menu
,
exStyle
,
dpi
);
ncm
.
cbSize
=
sizeof
(
ncm
);
...
...
dlls/user32/tests/win.c
View file @
23f26266
...
...
@@ -5342,7 +5342,7 @@ static void test_AWR_window_size(BOOL menu)
static
void
test_AWR_flags
(
void
)
{
static
const
DWORD
styles
[]
=
{
WS_POPUP
,
WS_BORDER
,
WS_DLGFRAME
,
WS_THICKFRAME
};
static
const
DWORD
styles
[]
=
{
WS_POPUP
,
WS_BORDER
,
WS_DLGFRAME
,
WS_THICKFRAME
,
WS_MINIMIZE
};
static
const
DWORD
exStyles
[]
=
{
WS_EX_CLIENTEDGE
,
WS_EX_TOOLWINDOW
,
WS_EX_WINDOWEDGE
,
WS_EX_APPWINDOW
,
WS_EX_DLGMODALFRAME
,
WS_EX_STATICEDGE
};
...
...
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