From 8b09cdc4a9507afd82f8f9166011d07460df6b36 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 16 Oct 2014 15:01:47 +0100 Subject: [PATCH] Misc --- dgl/src/Window.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index e31b75c8..f2183d1f 100644 --- 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 }