aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.m')
-rw-r--r--src/mac.m3
1 files changed, 3 insertions, 0 deletions
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];