diff options
-rw-r--r-- | src/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2059,7 +2059,7 @@ puglSetTransientParent(PuglView* const view, const PuglNativeView parent) view->transientParent = parent; - if (view->impl->win) { + if (view->impl->win && view->transientParent) { XSetTransientForHint( display, view->impl->win, (Window)view->transientParent); } |