From 772a371ce695668e27220e7a42919b5a9c40f1fa Mon Sep 17 00:00:00 2001 From: Thibault GEFFROY Date: Tue, 18 Mar 2025 10:53:02 +0100 Subject: [PATCH] Fix wrong position of overlay at first drag --- src/DockManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/DockManager.cpp b/src/DockManager.cpp index f31e675..480dd68 100644 --- a/src/DockManager.cpp +++ b/src/DockManager.cpp @@ -507,6 +507,10 @@ CDockManager::CDockManager(QWidget *parent) : CDockContainerWidget(this, parent), d(new DockManagerPrivate(this)) { + // Force the Dock Manager to be native in order to fix wrong position of overlay + // the first time a dock container is dragged + winId(); + createRootSplitter(); createSideTabBarWidgets(); QMainWindow* MainWindow = qobject_cast(parent);