diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 81a80fb..4b0eaba 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -707,6 +707,9 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) : { setTitleBarWidget(new QWidget()); setWindowFlags(Qt::Window | Qt::WindowMaximizeButtonHint | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint); + // Force the new window to be native so OpenGL widgets are well handled + // Unfortunatly setAttribute(Qt::WA_NativeWindow) provokes weird behavior + winId(); } else {