Fix "Mac: Mixing native fullscreen button with Fl_Window::fullscreen() has side effects" (#1098)

This commit is contained in:
ManoloFLTK 2024-10-31 12:19:22 +01:00
parent 7237e0d308
commit 0cab095b3c
1 changed files with 0 additions and 1 deletions

View File

@ -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);