MacOS: fix crash when closing a fullscreen window - continued

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-11-01 16:38:37 +00:00
parent 16d62ebbd4
commit 2714c7600e

View File

@ -1317,6 +1317,8 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
- (void)windowDidResize:(NSNotification *)notif
{
FLWindow *nsw = (FLWindow*)[notif object];
if (![nsw isVisible]) return;
fl_lock_function();
Fl_Window *window = [nsw getFl_Window];
NSRect r; NSPoint pt2;
r = [[nsw contentView] frame];