diff options
author | falkTX <falktx@falktx.com> | 2023-10-22 15:14:57 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-10-22 11:16:13 -0400 |
commit | 5d8b3d3b46b1c288e87079dc531694f4377eedc4 (patch) | |
tree | bc90d55b27fd27a9bc0fddb60c21f2e4ef03f231 /src | |
parent | d8b116a95176ee130dbd4baabe4b6bd03d51bce3 (diff) | |
download | pugl-5d8b3d3b46b1c288e87079dc531694f4377eedc4.tar.gz pugl-5d8b3d3b46b1c288e87079dc531694f4377eedc4.tar.bz2 pugl-5d8b3d3b46b1c288e87079dc531694f4377eedc4.zip |
X11: Only call XSetTransientForHint for valid windows
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat (limited to 'src')
-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); } |