From 9b6c1c76305da122b17ccd74f1db00c2622d946c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Mar 2020 12:33:58 +0100 Subject: Mac: Make windows initially invisible as on other platforms --- pugl/detail/mac.m | 1 + 1 file changed, 1 insertion(+) (limited to 'pugl/detail') 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]; -- cgit v1.2.1