From ee3fbb849e0a58365bdfd0d4858f7a9b8621e76a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 3 Sep 2018 15:47:48 +0000 Subject: MacOS: fix creation of fullscreen GL window git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_cocoa.mm') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 2e3adab39..d6ca855f2 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2945,7 +2945,7 @@ Fl_X* Fl_Cocoa_Window_Driver::makeWindow() [cw center]; } else if (w->non_modal()) { [cw center]; - } else { + } else if (!w->fullscreen_active()) { static NSPoint delta = NSZeroPoint; delta = [cw cascadeTopLeftFromPoint:delta]; } -- cgit v1.2.3