summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-07-19 21:28:05 +0000
committerManolo Gouy <Manolo>2015-07-19 21:28:05 +0000
commitad4d5ba5b5618138c25a4c06a7b7313c02b80c91 (patch)
treed45eb103b8b01f59b99289b7eaf9f06b99d08251 /src
parent98ef8d52c9cd3986a6c527d9cdc8d2ffb1b08d5c (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm1
1 files changed, 1 insertions, 0 deletions
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()) {