winemac.drv: Activate window when restoring from iconic state.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
82c6ec3a32
commit
019f9222a6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue