Commit 251160fe authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Always trace arguments in macdrv_ShowWindow().

parent 121eb08b
......@@ -1026,6 +1026,9 @@ UINT CDECL macdrv_ShowWindow(HWND hwnd, INT cmd, RECT *rect, UINT swp)
struct macdrv_win_data *data = get_win_data(hwnd);
CGRect frame;
TRACE("win %p/%p cmd %d at %s flags %08x\n",
hwnd, data ? data->cocoa_window : NULL, cmd, wine_dbgstr_rect(rect), swp);
if (!data || !data->cocoa_window) goto done;
if (IsRectEmpty(rect)) goto done;
if (GetWindowLongW(hwnd, GWL_STYLE) & WS_MINIMIZE)
......@@ -1049,9 +1052,6 @@ UINT CDECL macdrv_ShowWindow(HWND hwnd, INT cmd, RECT *rect, UINT swp)
thread_data->current_event->type != WINDOW_DID_UNMINIMIZE)
goto done;
TRACE("win %p/%p cmd %d at %s flags %08x\n",
hwnd, data->cocoa_window, cmd, wine_dbgstr_rect(rect), swp);
macdrv_get_cocoa_window_frame(data->cocoa_window, &frame);
*rect = rect_from_cgrect(frame);
macdrv_mac_to_window_rect(data, rect);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment