Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: multiple screens, has lock screen widget is not the right size #394

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
dde-session-shell (6.0.28) unstable; urgency=medium

* fix: multiple screens, has lock screen widget is not the right size

-- Deepin Packages Builder <[email protected]> Thu, 20 Feb 2025 15:13:05 +0800

dde-session-shell (6.0.27) unstable; urgency=medium

* chore: adapt to Qt6.
Expand Down
4 changes: 4 additions & 0 deletions src/widgets/fullscreenbackground.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@ void FullscreenBackground::updateGeometry()
setGeometry(m_screen->geometry());
qInfo() << "set background geometry:" << m_screen << m_screen->geometry() << "lockFrame:"
<< this << " lockframe geometry:" << this->geometry();
if (m_screen->geometry().size() != this->geometry().size()) {
qWarning() << "size not same updateGeometry: " << this->geometry() << " lockFrame:" << this;
setGeometry(m_screen->geometry());
}
}

/********************************************************
Expand Down
Loading