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
ce119daf
Commit
ce119daf
authored
Jan 24, 2009
by
Florian Köberle
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix maxPosition of thick child windows.
parent
dc1a7113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
win.c
dlls/user32/tests/win.c
+3
-4
winpos.c
dlls/user32/winpos.c
+2
-2
No files found.
dlls/user32/tests/win.c
View file @
ce119daf
...
...
@@ -5321,10 +5321,9 @@ static LRESULT WINAPI test_thick_child_size_winproc(HWND hwnd, UINT msg, WPARAM
expectedPosY
=
rect
.
top
;
actualPosX
=
minmax
->
ptMaxPosition
.
x
;
actualPosY
=
minmax
->
ptMaxPosition
.
y
;
todo_wine
ok
(
actualPosX
==
expectedPosX
&&
actualPosY
==
expectedPosY
,
"expected maxPosition (%d/%d), actual maxPosition (%d/%d) for %s
\n
"
,
expectedPosX
,
expectedPosY
,
actualPosX
,
actualPosY
,
test_thick_child_name
);
ok
(
actualPosX
==
expectedPosX
&&
actualPosY
==
expectedPosY
,
"expected maxPosition (%d/%d), actual maxPosition (%d/%d) for %s
\n
"
,
expectedPosX
,
expectedPosY
,
actualPosX
,
actualPosY
,
test_thick_child_name
);
break
;
}
...
...
dlls/user32/winpos.c
View file @
ce119daf
...
...
@@ -682,8 +682,8 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
MinMax
.
ptMinTrackSize
.
y
=
GetSystemMetrics
(
SM_CYMINTRACK
);
MinMax
.
ptMaxTrackSize
.
x
=
GetSystemMetrics
(
SM_CXMAXTRACK
);
MinMax
.
ptMaxTrackSize
.
y
=
GetSystemMetrics
(
SM_CYMAXTRACK
);
xinc
=
yinc
=
0
;
xinc
=
-
rc
.
left
;
yinc
=
-
rc
.
top
;
}
else
{
...
...
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