Skip to content

Commit

Permalink
fix: 修复在dde-dock中右键菜单系统监视器图标无法激活系统监视器窗口到顶层
Browse files Browse the repository at this point in the history
在dde-dock中右键菜单系统监视器图标无法激活系统监视器窗口到顶层

Log: 修复在dde-dock中右键菜单系统监视器图标无法激活系统监视器窗口到顶层

Bug: https://pms.uniontech.com/bug-view-191373.html
  • Loading branch information
jeffshuai authored and deepin-bot[bot] committed Jul 19, 2023
1 parent 4abd029 commit 2c6a4d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-system-monitor (5.9.38) unstable; urgency=medium

* New version 5.9.38

-- shuaijie <[email protected]> Mon, 17 Jul 2023 18:29:06 +0800

deepin-system-monitor (5.9.35) unstable; urgency=medium

* New version 5.9.35
Expand Down
4 changes: 3 additions & 1 deletion deepin-system-monitor-main/dbus/dbus_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ void DBusObject::handleWindow()
{
internalMutex.lockForRead();
MainWindow *mw = gApp->mainWindow();
mw->setWindowState((mw->windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
mw->setWindowState(mw->windowState() & ~Qt::WindowMinimized);
mw->raise();
mw->activateWindow();
internalMutex.unlock();
}

Expand Down

0 comments on commit 2c6a4d9

Please sign in to comment.