aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 12:33:58 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 15:25:28 +0100
commit9b6c1c76305da122b17ccd74f1db00c2622d946c (patch)
treec6fdd5086eccc436207be4136a64016d729d7a49 /pugl/detail
parent8b1189f7a8096048f597c16fa88aa898e0f79178 (diff)
downloadpugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.tar.gz
pugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.tar.bz2
pugl-9b6c1c76305da122b17ccd74f1db00c2622d946c.zip
Mac: Make windows initially invisible as on other platforms
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/mac.m1
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];