diff options
Diffstat (limited to 'src/x11.c')
-rw-r--r-- | src/x11.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1656,6 +1656,10 @@ puglSetTransientParent(PuglView* const view, const PuglNativeView parent) { Display* display = view->world->impl->display; + if (view->parent) { + return PUGL_FAILURE; + } + view->transientParent = parent; if (view->impl->win) { |