diff options
Diffstat (limited to 'src/mac.m')
-rw-r--r-- | src/mac.m | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1562,6 +1562,10 @@ puglSetSizeHint(PuglView* const view, PuglStatus puglSetTransientParent(PuglView* view, PuglNativeView parent) { + if (view->parent) { + return PUGL_FAILURE; + } + view->transientParent = parent; if (view->impl->window) { |