Commit 019f9222 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

winemac.drv: Activate window when restoring from iconic state.

parent 82c6ec3a
...@@ -2452,6 +2452,7 @@ void macdrv_window_did_unminimize(HWND hwnd) ...@@ -2452,6 +2452,7 @@ void macdrv_window_did_unminimize(HWND hwnd)
{ {
TRACE("restoring win %p/%p\n", hwnd, data->cocoa_window); TRACE("restoring win %p/%p\n", hwnd, data->cocoa_window);
release_win_data(data); release_win_data(data);
SetActiveWindow(hwnd);
SendMessageW(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0); SendMessageW(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
return; return;
} }
......
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