mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:11:01 +00:00
winemac: Always trace arguments in macdrv_ShowWindow().
This commit is contained in:
parent
121eb08bae
commit
251160fef9
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue