winemac: Ignore window frame changes while minimized but check again when unminimized.
This commit is contained in:
parent
62a1907c9e
commit
a6dc4906de
|
@ -1229,6 +1229,8 @@ - (void)windowDidDeminiaturize:(NSNotification *)notification
|
|||
causing_becomeKeyWindow = FALSE;
|
||||
[controller windowGotFocus:self];
|
||||
}
|
||||
|
||||
[self windowDidResize:notification];
|
||||
}
|
||||
|
||||
- (void) windowDidEndLiveResize:(NSNotification *)notification
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue