From ef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Dec 2022 13:05:04 -0500 Subject: Set transient parent when views are realized if necessary --- src/mac.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mac.m') diff --git a/src/mac.m b/src/mac.m index 186e612..f665210 100644 --- a/src/mac.m +++ b/src/mac.m @@ -1162,6 +1162,9 @@ puglRealize(PuglView* view) updateSizeHints(view); puglSetFrame(view, view->frame); + if (view->transientParent) { + puglSetTransientParent(view, view->transientParent); + } [window setContentView:impl->wrapperView]; [view->world->impl->app activateIgnoringOtherApps:YES]; -- cgit v1.2.1