Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/widgets/fullscreenbackground.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,14 @@ void FullScreenBackground::showEvent(QShowEvent *event)
activateWindow();
}

#ifndef ENABLE_DSS_SNIPE

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是不是还可以一个函数而非宏 , 类似 ENABLE_DSS_SNIPE的功能,动态判断,

// setScreen中有设置updateGeometry,单屏不需要再次设置
if (qApp->screens().size() > 1) {
updateGeometry();
}
#else
updateGeometry();
#endif

// 显示的时候需要置顶,截图在上方的话无法显示锁屏 见Bug-140545
raise();
Expand Down
Loading