aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:15:12 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:15:12 -0500
commitb82d8a87da515ae71114d1ff44780060f0a1292e (patch)
treef170dc8bf96e662dbea1278a650d254e37424430 /src
parent7570f3d40a258511fe25f4c239d2f746c97340e0 (diff)
downloadpugl-b82d8a87da515ae71114d1ff44780060f0a1292e.tar.gz
pugl-b82d8a87da515ae71114d1ff44780060f0a1292e.tar.bz2
pugl-b82d8a87da515ae71114d1ff44780060f0a1292e.zip
Add puglGetTransientParent()
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)
{