summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdeinit/phase1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeinit/phase1.cpp b/tdeinit/phase1.cpp
index 6867ad21f..f4317e554 100644
--- a/tdeinit/phase1.cpp
+++ b/tdeinit/phase1.cpp
@@ -74,6 +74,9 @@ int main(int argc, char **argv)
if (wmToLaunch == "") {
return_code = system("kwrapper ksmserver");
}
+ else if (wmArguments == "") {
+ return_code = system((TQString("kwrapper ksmserver --windowmanager %1").arg(wmToLaunch)).ascii());
+ }
else {
return_code = system((TQString("kwrapper ksmserver --windowmanager %1 --windowmanageraddargs %2").arg(wmToLaunch).arg(wmArguments)).ascii());
}