Skip to content
Closed
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 (1.2.10) unstable; urgency=medium

* release 1.2.10

-- Mike Chen <chenke@deepin.org> Thu, 16 May 2024 17:16:32 +0800

dde-session (1.2.9) unstable; urgency=medium

* chore: move dde-session@x11 to dde-session-pre.target
Expand Down
8 changes: 0 additions & 8 deletions src/dde-session/environmentsmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ void EnvironmentsManager::createGeneralEnvironments()
m_envMap.insert("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
m_envMap.insert("XDG_CURRENT_DESKTOP", "DDE");
m_envMap.insert("QT_DBL_CLICK_DIST", QString::number(15 * scaleFactor));
m_envMap.insert("QT_LINUX_ACCESSIBILITY_ALWAYS_ON", "1");

// 浮点数相等
if (qFuzzyIsNull(scaleFactor - 1.0)) {
// set scale factor for deepin wine apps
// 原先golang中的实现使用的是strconv.FormatFloat(scaleFactor, 'f', 2, 64),和现在的计算结果是有差别的
m_envMap.insert("DEEPIN_WINE_SCALE", QString::asprintf("%.2f", scaleFactor));
}
}

void EnvironmentsManager::createKeyringEnvironments()
Expand Down