diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-10-31 12:19:22 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-10-31 12:19:22 +0100 |
| commit | 0cab095b3c5485a06767966a1e080432db81eb3e (patch) | |
| tree | 5b0c91a3554240382e304f5bb7732e83ea856543 /src | |
| parent | 7237e0d30882fe570214a192c795a642e2c9f680 (diff) | |
Fix "Mac: Mixing native fullscreen button with Fl_Window::fullscreen() has side effects" (#1098)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 369ce8444..9b4e004ce 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3370,7 +3370,6 @@ void Fl_Cocoa_Window_Driver::fullscreen_off(int X, int Y, int W, int H) { # if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 FLWindow *nswin = fl_xid(pWindow); [nswin toggleFullScreen:nil]; - pWindow->resize(*no_fullscreen_x(), *no_fullscreen_y(), *no_fullscreen_w(), *no_fullscreen_h()); # endif } else if (fl_mac_os_version >= 100600) { FLWindow *nswin = fl_xid(pWindow); |
