Skip to content

Commit

Permalink
Fix transient X11 windows
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Mar 10, 2024
1 parent 0ceb411 commit 06843c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgl/src/pugl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ PuglStatus puglSetSizeAndDefault(PuglView* view, uint width, uint height)

#ifdef DGL_USING_X11
// workaround issues in fluxbox, see https://github.com/lv2/pugl/issues/118
if (view->impl->win && !view->parent)
if (view->impl->win && !view->parent && !view->transientParent)
{
view->sizeHints[PUGL_DEFAULT_SIZE].width = view->sizeHints[PUGL_DEFAULT_SIZE].height = 0;
}
Expand Down

0 comments on commit 06843c2

Please sign in to comment.