Skip to content

Commit

Permalink
fix: the Alt+Print shotcut get the wrong image
Browse files Browse the repository at this point in the history
Log: fix the Alt+Print shotcut get the wrong image
Bug: https://pms.uniontech.com/bug-view-267329.html
  • Loading branch information
add-uos authored and deepin-bot[bot] committed Aug 26, 2024
1 parent 028c246 commit 52a98d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ void MainWindow::topWindow()
// 经DTK确认,type存在bug。用flags替换,获取窗口类型功能。bug 77300;
if (window->flags().testFlag(Qt::Window) || window->flags().testFlag(Qt::Desktop)) {
// 排除dde-dock作为顶层窗口
if (window->wmClass() == "dde-dock") {
if (window->wmClass() == "dde-dock" || window->wmClass() == "dde-shell") {
continue;
}
//判断窗口是否被最小化
Expand Down

0 comments on commit 52a98d4

Please sign in to comment.