aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:17:38 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:17:38 -0500
commite1818b1261cb9632393a6bf092dfcd0ba51e2908 (patch)
tree60aceb9ed45dc528c027efe7dfca9e71d1c7a5da /src
parentb82d8a87da515ae71114d1ff44780060f0a1292e (diff)
downloadpugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.tar.gz
pugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.tar.bz2
pugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.zip
Add puglGetParentWindow()
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 9a8ea03..f7b15ff 100644
--- a/src/implementation.c
+++ b/src/implementation.c
@@ -235,6 +235,12 @@ puglSetParentWindow(PuglView* view, PuglNativeView parent)
}
PuglNativeView
+puglGetParentWindow(const PuglView* const view)
+{
+ return view->parent;
+}
+
+PuglNativeView
puglGetTransientParent(const PuglView* const view)
{
return view->transientParent;