2023-07-31 10:14:22 +08:00
|
|
|
From 728deb493fa305b53f7fcb00d74e93f5ad756f13 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: leeffo <liweiganga@uniontech.com>
|
|
|
|
|
Date: Mon, 31 Jul 2023 10:12:51 +0800
|
2021-09-23 21:36:35 +08:00
|
|
|
Subject: [PATCH] Fix wm-chooser error in openeuler
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
dde-wm-chooser/main.cpp | 4 ++--
|
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/dde-wm-chooser/main.cpp b/dde-wm-chooser/main.cpp
|
2023-07-31 10:14:22 +08:00
|
|
|
index 4cdfe7c..7723652 100644
|
2021-09-23 21:36:35 +08:00
|
|
|
--- a/dde-wm-chooser/main.cpp
|
|
|
|
|
+++ b/dde-wm-chooser/main.cpp
|
2023-07-31 10:14:22 +08:00
|
|
|
@@ -65,10 +65,10 @@ int main(int argc, char *argv[])
|
2021-09-23 21:36:35 +08:00
|
|
|
if (parser.isSet(config)) {
|
|
|
|
|
const DSysInfo::DeepinType DeepinType = DSysInfo::deepinType();
|
|
|
|
|
bool IsServerSystem = DSysInfo::DeepinServer == DeepinType;
|
|
|
|
|
- if (IsServerSystem) {
|
|
|
|
|
+ //if (IsServerSystem) {
|
|
|
|
|
selectNormalModel(parser.value(config));
|
|
|
|
|
return 0;
|
|
|
|
|
- }
|
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
|
|
PropertyGroup *pg = new PropertyGroup();
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
2.20.1
|
|
|
|
|
|