summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kgapp.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-10-11 09:59:02 +0200
committerSlávek Banko <[email protected]>2015-10-11 09:59:04 +0200
commitadbe9f7f5f9c0a0b872d35f4401dadad25ef4b06 (patch)
tree8ced2b66163a45c4ff631d0d1cb35dae7300c195 /tdm/kfrontend/kgapp.cpp
parent226e5fc71660fd5a5dec8b94415ce00221efd755 (diff)
downloadtdebase-adbe9f7f5f9c0a0b872d35f4401dadad25ef4b06.tar.gz
tdebase-adbe9f7f5f9c0a0b872d35f4401dadad25ef4b06.zip
Fix incorrect usage of login_session_wm. Type of session does not contain executable
for run session but base name of session desktop file. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdm/kfrontend/kgapp.cpp')
-rw-r--r--tdm/kfrontend/kgapp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 86a67cbad..2c78769bd 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -574,7 +574,7 @@ kg_main( const char *argv0 )
}
if (twin) {
if (twin->isRunning()) {
- if (login_session_wm.endsWith("/starttde") || (login_session_wm == "failsafe")) {
+ if ((login_session_wm == "tde") || (login_session_wm == "trinity") || (login_session_wm == "failsafe")) {
twin->closeStdin();
twin->detach();
dcop->detach();