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:
parent
16d62ebbd4
commit
2714c7600e
@ -1317,6 +1317,8 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
|
|||||||
- (void)windowDidResize:(NSNotification *)notif
|
- (void)windowDidResize:(NSNotification *)notif
|
||||||
{
|
{
|
||||||
FLWindow *nsw = (FLWindow*)[notif object];
|
FLWindow *nsw = (FLWindow*)[notif object];
|
||||||
|
if (![nsw isVisible]) return;
|
||||||
|
fl_lock_function();
|
||||||
Fl_Window *window = [nsw getFl_Window];
|
Fl_Window *window = [nsw getFl_Window];
|
||||||
NSRect r; NSPoint pt2;
|
NSRect r; NSPoint pt2;
|
||||||
r = [[nsw contentView] frame];
|
r = [[nsw contentView] frame];
|
||||||
|
Loading…
Reference in New Issue
Block a user