diff options
author | David Robillard <d@drobilla.net> | 2022-12-27 13:05:04 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-27 13:05:04 -0500 |
commit | ef19bb7e8f170db9fcd32b89b413c9b0a8f6d8c4 (patch) | |
tree | 3c6db56018d5f654a73ff9278ab3481c73c17457 /src/mac.m | |
parent | 616dfbbea24601175a6b378ae1ec1c62a901e377 (diff) | |
download | pugl-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.m | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]; |