Skip to content

Commit 772a371

Browse files
committed
Fix wrong position of overlay at first drag
1 parent cb62cd7 commit 772a371

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DockManager.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ CDockManager::CDockManager(QWidget *parent) :
507507
CDockContainerWidget(this, parent),
508508
d(new DockManagerPrivate(this))
509509
{
510+
// Force the Dock Manager to be native in order to fix wrong position of overlay
511+
// the first time a dock container is dragged
512+
winId();
513+
510514
createRootSplitter();
511515
createSideTabBarWidgets();
512516
QMainWindow* MainWindow = qobject_cast<QMainWindow*>(parent);

0 commit comments

Comments
 (0)