diff options
author | David Robillard <d@drobilla.net> | 2020-03-08 12:33:58 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-08 15:25:28 +0100 |
commit | 9b6c1c76305da122b17ccd74f1db00c2622d946c (patch) | |
tree | c6fdd5086eccc436207be4136a64016d729d7a49 | |
parent | 8b1189f7a8096048f597c16fa88aa898e0f79178 (diff) | |
download | pugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.tar.gz pugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.tar.bz2 pugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.zip |
Mac: Make windows initially invisible as on other platforms
-rw-r--r-- | pugl/detail/mac.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index c844d26..ce00a10 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -808,6 +808,7 @@ puglCreateWindow(PuglView* view, const char* title) [view->world->impl->app activateIgnoringOtherApps:YES]; [window makeFirstResponder:impl->wrapperView]; [window makeKeyAndOrderFront:window]; + [impl->window setIsVisible:NO]; } [impl->wrapperView updateTrackingAreas]; |