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
80193a6c
Commit
80193a6c
authored
Dec 02, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Maximized windows can be full-screen in recent Windows.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9cad1cc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
win.c
dlls/user32/tests/win.c
+5
-5
No files found.
dlls/user32/tests/win.c
View file @
80193a6c
...
...
@@ -6841,11 +6841,11 @@ static void test_fullscreen(void)
/* Windows makes a maximized window slightly larger (to hide the borders?) */
fixup
=
min
(
abs
(
rc
.
left
),
abs
(
rc
.
top
));
InflateRect
(
&
rc
,
-
fixup
,
-
fixup
);
ok
(
rc
.
left
>=
mi
.
rc
Work
.
left
&&
rc
.
top
<=
mi
.
rcWork
.
top
&&
rc
.
right
<=
mi
.
rc
Work
.
right
&&
rc
.
bottom
<=
mi
.
rcWork
.
bottom
,
ok
(
rc
.
left
>=
mi
.
rc
Monitor
.
left
&&
rc
.
top
>=
mi
.
rcMonitor
.
top
&&
rc
.
right
<=
mi
.
rc
Monitor
.
right
&&
rc
.
bottom
<=
mi
.
rcMonitor
.
bottom
,
"%#x/%#x: window rect %d,%d-%d,%d must be in %d,%d-%d,%d
\n
"
,
ex_style
,
style
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
,
mi
.
rc
Work
.
left
,
mi
.
rcWork
.
top
,
mi
.
rcWork
.
right
,
mi
.
rcWork
.
bottom
);
mi
.
rc
Monitor
.
left
,
mi
.
rcMonitor
.
top
,
mi
.
rcMonitor
.
right
,
mi
.
rcMonitor
.
bottom
);
DestroyWindow
(
hwnd
);
style
=
t_style
[
i
]
|
WS_MAXIMIZE
|
WS_MAXIMIZEBOX
;
...
...
@@ -6863,8 +6863,8 @@ static void test_fullscreen(void)
rc
.
right
>=
mi
.
rcMonitor
.
right
&&
rc
.
bottom
>=
mi
.
rcMonitor
.
bottom
,
"%#x/%#x: window rect %d,%d-%d,%d
\n
"
,
ex_style
,
style
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
);
else
ok
(
rc
.
left
>=
mi
.
rc
Work
.
left
&&
rc
.
top
<=
mi
.
rcWork
.
top
&&
rc
.
right
<=
mi
.
rc
Work
.
right
&&
rc
.
bottom
<=
mi
.
rcWork
.
bottom
,
ok
(
rc
.
left
>=
mi
.
rc
Monitor
.
left
&&
rc
.
top
>=
mi
.
rcMonitor
.
top
&&
rc
.
right
<=
mi
.
rc
Monitor
.
right
&&
rc
.
bottom
<=
mi
.
rcMonitor
.
bottom
,
"%#x/%#x: window rect %d,%d-%d,%d
\n
"
,
ex_style
,
style
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
);
DestroyWindow
(
hwnd
);
}
...
...
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