From b82d8a87da515ae71114d1ff44780060f0a1292e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:15:12 -0500 Subject: Add puglGetTransientParent() --- src/implementation.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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) { -- cgit v1.2.1