From 7e4b97f3aefba64c14d2db4f94c6b1dd7ed358db Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Wed, 23 Apr 2025 03:00:42 +0000 Subject: [PATCH] sync: from linuxdeepin/dde-session-shell Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: https://github.com/linuxdeepin/dde-session-shell/pull/3 --- src/widgets/fullscreenbackground.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/fullscreenbackground.cpp b/src/widgets/fullscreenbackground.cpp index ccef0fb71..fe0ac3e70 100644 --- a/src/widgets/fullscreenbackground.cpp +++ b/src/widgets/fullscreenbackground.cpp @@ -359,10 +359,14 @@ void FullScreenBackground::showEvent(QShowEvent *event) activateWindow(); } +#ifndef ENABLE_DSS_SNIPE // setScreen中有设置updateGeometry,单屏不需要再次设置 if (qApp->screens().size() > 1) { updateGeometry(); } +#else + updateGeometry(); +#endif // 显示的时候需要置顶,截图在上方的话无法显示锁屏 见Bug-140545 raise();