MacOS: fix turning GL window to/from fullscreen state.
This fix completes that at r.13039. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
6e5c5d58e8
commit
3669f9a8cc
@ -264,9 +264,9 @@ void Fl_Cocoa_Window_Driver::fullscreen_on() {
|
||||
|
||||
void Fl_Cocoa_Window_Driver::fullscreen_off(int X, int Y, int W, int H) {
|
||||
pWindow->_clear_fullscreen();
|
||||
hide();
|
||||
resize(X, Y, W, H);
|
||||
show();
|
||||
pWindow->hide();
|
||||
pWindow->resize(X, Y, W, H);
|
||||
pWindow->show();
|
||||
Fl::handle(FL_FULLSCREEN, pWindow);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user