Browse Source

Misc

gh-pages
falkTX 10 years ago
parent
commit
8b09cdc4a9
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      dgl/src/Window.cpp

+ 6
- 2
dgl/src/Window.cpp View File

@@ -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
}



Loading…
Cancel
Save