winemac: Ignore window frame changes while minimized but check again when unminimized.

This commit is contained in:
Ken Thomases 2013-06-04 04:59:54 -05:00 committed by Alexandre Julliard
parent 62a1907c9e
commit a6dc4906de
2 changed files with 3 additions and 1 deletions

View File

@ -1229,6 +1229,8 @@ - (void)windowDidDeminiaturize:(NSNotification *)notification
causing_becomeKeyWindow = FALSE;
[controller windowGotFocus:self];
}
[self windowDidResize:notification];
}
- (void) windowDidEndLiveResize:(NSNotification *)notification

View File

@ -1500,7 +1500,7 @@ void macdrv_window_frame_changed(HWND hwnd, CGRect frame)
if (!hwnd) return;
if (!(data = get_win_data(hwnd))) return;
if (!data->on_screen)
if (!data->on_screen || data->minimized)
{
release_win_data(data);
return;