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
361f9806
Commit
361f9806
authored
Jul 20, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Jul 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trace rectangles returned by GetClientRect and GetWindowRect.
parent
ca5757f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
winpos.c
windows/winpos.c
+4
-0
No files found.
windows/winpos.c
View file @
361f9806
...
...
@@ -211,6 +211,8 @@ BOOL WINAPI GetWindowRect( HWND hwnd, LPRECT rect )
if
(
wndPtr
->
parent
)
MapWindowPoints
(
wndPtr
->
parent
->
hwndSelf
,
0
,
(
POINT
*
)
rect
,
2
);
WIN_ReleaseWndPtr
(
wndPtr
);
TRACE
(
"hwnd %04x (%d,%d)-(%d,%d)
\n
"
,
hwnd
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
return
TRUE
;
}
...
...
@@ -317,6 +319,8 @@ BOOL WINAPI GetClientRect( HWND hwnd, LPRECT rect )
rect
->
bottom
=
wndPtr
->
rectClient
.
bottom
-
wndPtr
->
rectClient
.
top
;
WIN_ReleaseWndPtr
(
wndPtr
);
TRACE
(
"hwnd %04x (%d,%d)-(%d,%d)
\n
"
,
hwnd
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
return
TRUE
;
}
...
...
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