aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-27 13:05:04 -0500
committerDavid Robillard <d@drobilla.net>2022-12-27 13:05:04 -0500
commitef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4 (patch)
tree3c6db56018d5f654a73ff9278ab3481c73c17457 /src/mac.m
parent616dfbbea24601175a6b378ae1ec1c62a901e377 (diff)
downloadpugl-ef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4.tar.gz
pugl-ef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4.tar.bz2
pugl-ef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4.zip
Set transient parent when views are realized if necessary
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];