diff options
| author | Manolo Gouy <Manolo> | 2018-09-06 12:56:08 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-09-06 12:56:08 +0000 |
| commit | 3669f9a8ccfc014d83bca2a565f7ebdd9367b1f4 (patch) | |
| tree | ac14437bd97e94b6bd73a56b5d50bbac45654a1f /src/drivers | |
| parent | 6e5c5d58e8b5e47144f53f338238e2385b29e8e5 (diff) | |
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
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx index 519979cda..254d22545 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx @@ -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); } |
