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
d7ba12c7
Commit
d7ba12c7
authored
Jan 21, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Max tracking size in WM_GETMINMAXINFO should take into account the
window frame.
parent
25732276
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
winpos.c
windows/winpos.c
+2
-2
No files found.
windows/winpos.c
View file @
d7ba12c7
...
...
@@ -760,8 +760,8 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
}
MinMax
.
ptMinTrackSize
.
x
=
GetSystemMetrics
(
SM_CXMINTRACK
);
MinMax
.
ptMinTrackSize
.
y
=
GetSystemMetrics
(
SM_CYMINTRACK
);
MinMax
.
ptMaxTrackSize
.
x
=
GetSystemMetrics
(
SM_CXSCREEN
);
MinMax
.
ptMaxTrackSize
.
y
=
GetSystemMetrics
(
SM_CYSCREEN
);
MinMax
.
ptMaxTrackSize
.
x
=
GetSystemMetrics
(
SM_CXSCREEN
)
+
2
*
GetSystemMetrics
(
SM_CXFRAME
)
;
MinMax
.
ptMaxTrackSize
.
y
=
GetSystemMetrics
(
SM_CYSCREEN
)
+
2
*
GetSystemMetrics
(
SM_CYFRAME
)
;
if
(
HAS_DLGFRAME
(
style
,
exstyle
))
{
...
...
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