diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mac.m | 3 | ||||
-rw-r--r-- | src/win.c | 4 | ||||
-rw-r--r-- | src/x11.c | 2 |
3 files changed, 8 insertions, 1 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]; @@ -256,6 +256,10 @@ puglRealize(PuglView* view) puglSetWindowTitle(view, view->title); } + if (view->transientParent) { + puglSetTransientParent(view, view->transientParent); + } + view->impl->scaleFactor = puglWinGetViewScaleFactor(view); view->impl->cursor = LoadCursor(NULL, IDC_ARROW); @@ -457,7 +457,7 @@ puglRealize(PuglView* const view) } if (view->transientParent) { - XSetTransientForHint(display, impl->win, (Window)view->transientParent); + puglSetTransientParent(view, view->transientParent); } // Create input context |