From cff13ce9dab9c0fcb0ca73a7cf247f8c8bc14993 Mon Sep 17 00:00:00 2001 From: wangfei Date: Mon, 22 Apr 2024 20:35:39 +0800 Subject: [PATCH] fix: wrong position of notification wrong position of notification in 4k screen Issue: https://github.com/linuxdeepin/developer-center/issues/8026 --- dde-osd/src/notification/bubblemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dde-osd/src/notification/bubblemanager.cpp b/dde-osd/src/notification/bubblemanager.cpp index 79aa4f90..3e253946 100644 --- a/dde-osd/src/notification/bubblemanager.cpp +++ b/dde-osd/src/notification/bubblemanager.cpp @@ -802,7 +802,7 @@ void BubbleManager::initConnections() if (useBuiltinBubble()) { connect(m_displayInter, &DisplayInter::PrimaryRectChanged, this, &BubbleManager::geometryChanged, Qt::QueuedConnection); - connect(m_dockInter, &DBusDockInterface::geometryChanged, this, &BubbleManager::geometryChanged, Qt::UniqueConnection); + connect(m_dockDeamonInter, &DockInter::FrontendWindowRectChanged, this, &BubbleManager::geometryChanged, Qt::UniqueConnection); connect(m_dockDeamonInter, &DockInter::serviceValidChanged, this, &BubbleManager::geometryChanged, Qt::UniqueConnection); connect(qApp, &QApplication::primaryScreenChanged, this, [ = ] {