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
7bee505d
Commit
7bee505d
authored
Oct 25, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fixed maximized window size on multi-monitor setups.
parent
0ab4c36c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
winpos.c
dlls/user/winpos.c
+4
-4
No files found.
dlls/user/winpos.c
View file @
7bee505d
...
@@ -808,11 +808,11 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
...
@@ -808,11 +808,11 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
mon_info
.
cbSize
=
sizeof
(
mon_info
);
mon_info
.
cbSize
=
sizeof
(
mon_info
);
GetMonitorInfoW
(
monitor
,
&
mon_info
);
GetMonitorInfoW
(
monitor
,
&
mon_info
);
if
(
MinMax
.
ptMaxSize
.
x
==
GetSystemMetrics
(
SM_CXSCREEN
)
&&
if
(
MinMax
.
ptMaxSize
.
x
==
GetSystemMetrics
(
SM_CXSCREEN
)
+
2
*
xinc
&&
MinMax
.
ptMaxSize
.
y
==
GetSystemMetrics
(
SM_CYSCREEN
))
MinMax
.
ptMaxSize
.
y
==
GetSystemMetrics
(
SM_CYSCREEN
)
+
2
*
yinc
)
{
{
MinMax
.
ptMaxSize
.
x
=
mon_info
.
rcWork
.
right
-
mon_info
.
rcWork
.
left
;
MinMax
.
ptMaxSize
.
x
=
(
mon_info
.
rcWork
.
right
-
mon_info
.
rcWork
.
left
)
+
2
*
xinc
;
MinMax
.
ptMaxSize
.
y
=
mon_info
.
rcWork
.
bottom
-
mon_info
.
rcWork
.
top
;
MinMax
.
ptMaxSize
.
y
=
(
mon_info
.
rcWork
.
bottom
-
mon_info
.
rcWork
.
top
)
+
2
*
yinc
;
}
}
if
(
MinMax
.
ptMaxPosition
.
x
==
-
xinc
&&
MinMax
.
ptMaxPosition
.
y
==
-
yinc
)
if
(
MinMax
.
ptMaxPosition
.
x
==
-
xinc
&&
MinMax
.
ptMaxPosition
.
y
==
-
yinc
)
{
{
...
...
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