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/win.c | |
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/win.c')
-rw-r--r-- | src/win.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |