diff options
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r-- | pugl/pugl_x11.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index e3325cd..4bf1f65 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -226,6 +226,11 @@ puglCreateWindow(PuglView* view, const char* title) XSetWMProtocols(impl->display, impl->win, &wmDelete, 1); } + if (view->transient_parent) { + XSetTransientForHint(impl->display, impl->win, + (Window)(view->transient_parent)); + } + XFree(vi); return 0; |