From ad4d5ba5b5618138c25a4c06a7b7313c02b80c91 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 19 Jul 2015 21:28:05 +0000 Subject: Make sure the window is drawn when Fl_X::make() is called (necessary with Mac OS 10.11). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5c322cc92..c1cc3fd31 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3039,6 +3039,7 @@ void Fl_X::make(Fl_Window* w) x->changed_resolution(false); #endif [cw makeKeyAndOrderFront:nil]; + [cw displayIfNeeded]; // make sure the window is drawn (useful with 10.11) } if (!w->parent()) { -- cgit v1.2.3