aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/implementation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/implementation.c b/src/implementation.c
index 5ef3ce9..9a8ea03 100644
--- a/src/implementation.c
+++ b/src/implementation.c
@@ -234,6 +234,12 @@ puglSetParentWindow(PuglView* view, PuglNativeView parent)
return PUGL_SUCCESS;
}
+PuglNativeView
+puglGetTransientParent(const PuglView* const view)
+{
+ return view->transientParent;
+}
+
PuglStatus
puglSetBackend(PuglView* view, const PuglBackend* backend)
{