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

* rename deepin-kwin to kwin

-- rewine <luhongxu@uniontech.com> Mon, 24 Mar 2025 10:33:39 +0800

dde-session (1.99.11) unstable; urgency=medium

* fix: return value spelling error
Expand Down
4 changes: 2 additions & 2 deletions src/dde-session/othersmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void OthersManager::launchWmChooser()
}

// kwin存在的情况
if (!QStandardPaths::findExecutable("deepin-kwin_x11").isEmpty() && QFile(config).exists()) {
if (!QStandardPaths::findExecutable("kwin_x11").isEmpty() && QFile(config).exists()) {
QFile configFile(config);
if (!configFile.open(QIODevice::ReadOnly)) {
qWarning() << "failed to open file: " << config;
Expand All @@ -64,7 +64,7 @@ void OthersManager::launchWmChooser()
bool compositingEnabled = (lastWm == "deepin-wm");

// 更新kwinrc的配置文件
const QString &kwinRc = QStandardPaths::standardLocations(QStandardPaths::ConfigLocation).first() + "/deepin-kwinrc";
const QString &kwinRc = QStandardPaths::standardLocations(QStandardPaths::ConfigLocation).first() + "/kwinrc";
QSettings settings(kwinRc, QSettings::IniFormat);
settings.beginGroup("Compositing");
settings.setValue("Enabled", compositingEnabled);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Type=notify
# Only start if the template instance matches the session type.
ExecCondition=/bin/sh -c 'test "$XDG_SESSION_TYPE" = "%I" || exit 2'
ExecStartPre=-/bin/sh -c 'cp -n /etc/xdg/kglobalshortcutsrc $HOME/.config/kglobalshortcutsrc'
ExecStart=/usr/bin/deepin-kwin_x11 --replace
ExecStart=/usr/bin/kwin_x11 --replace
# Exit code 1 means we are probably *not* dealing with an extension failure
SuccessExitStatus=1

Expand Down
Loading