Mac OS: fixed possible crash when closing fullscreen GL window with close button of title bar.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
d74f373552
commit
b2f24781d4
@ -1364,12 +1364,12 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
|
||||
parent = parent->window();
|
||||
}
|
||||
resize_from_system = window;
|
||||
if (window->as_gl_window()) Fl_X::i(window)->in_windowDidResize(true);
|
||||
if (window->as_gl_window() && Fl_X::i(window)) Fl_X::i(window)->in_windowDidResize(true);
|
||||
update_e_xy_and_e_xy_root(nsw);
|
||||
window->resize((int)pt2.x, (int)pt2.y, (int)r.size.width, (int)r.size.height);
|
||||
[nsw recursivelySendToSubwindows:@selector(setSubwindowFrame)];
|
||||
[nsw recursivelySendToSubwindows:@selector(checkSubwindowFrame)];
|
||||
if (window->as_gl_window()) Fl_X::i(window)->in_windowDidResize(false);
|
||||
if (window->as_gl_window() && Fl_X::i(window)) Fl_X::i(window)->in_windowDidResize(false);
|
||||
fl_unlock_function();
|
||||
}
|
||||
- (void)windowDidResignKey:(NSNotification *)notif
|
||||
|
Loading…
Reference in New Issue
Block a user