mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 06:56:24 +08:00
Moved OS X code base to the more moder Cocoa toolkit thanks to the awesome work of Manolo Gouy (STR #2221). This is a big one! I tested all test applications under 32-bit autoconf and Xcode, and a few apps under 64bit intel. No PPC testing was done. Please verify this patch if you have the machine!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -161,6 +161,10 @@ void fullscreen_cb(Fl_Widget *o, void *p) {
|
||||
py = w->y();
|
||||
pw = w->w();
|
||||
ph = w->h();
|
||||
#ifndef WIN32//necessary because fullscreen removes border
|
||||
border_button->value(0);
|
||||
border_button->do_callback();
|
||||
#endif
|
||||
w->fullscreen();
|
||||
} else {
|
||||
w->fullscreen_off(px,py,pw,ph);
|
||||
|
||||
Reference in New Issue
Block a user