commit 8b09cdc4a9507afd82f8f9166011d07460df6b36 parent 7c6f0b047fd58e94c19d7207672b709a6c4e1f9a Author: falkTX <falktx@gmail.com> Date: Thu, 16 Oct 2014 15:01:22 +0100 Misc Diffstat:
M | dgl/src/Window.cpp | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp @@ -112,10 +112,14 @@ struct Window::PrivateData { DBG("Creating window with parent..."); DBGF; init(); -#ifdef DISTRHO_OS_LINUX const PuglInternals* const parentImpl(parent.pData->fView->impl); - +#if defined(DISTRHO_OS_LINUX) XSetTransientForHint(xDisplay, xWindow, parentImpl->win); +//#elif defined(DISTRHO_OS_MAC) +// [parentImpl->window orderWindow:NSWindowBelow relativeTo:[[mView window] windowNumber]]; +#else + // unused + return; (void)parentImpl; #endif }