aboutsummaryrefslogtreecommitdiffstats
path: root/src/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win.c')
-rw-r--r--src/win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win.c b/src/win.c
index 639f200..34ad4c3 100644
--- a/src/win.c
+++ b/src/win.c
@@ -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);