aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11.c
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/x11.c
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/x11.c')
-rw-r--r--src/x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11.c b/src/x11.c
index 2ded392..6affa9f 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -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