From 361f980659ecb7f4ab9b9579e49ab17c9c499d58 Mon Sep 17 00:00:00 2001 From: "Guy L. Albertelli" Date: Fri, 20 Jul 2001 17:58:41 +0000 Subject: [PATCH] Trace rectangles returned by GetClientRect and GetWindowRect. --- windows/winpos.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/winpos.c b/windows/winpos.c index cb576d797a3..da7078b9163 100644 --- a/windows/winpos.c +++ b/windows/winpos.c @@ -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; }