diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-10-11 09:59:02 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-10-11 09:59:04 +0200 |
commit | adbe9f7f5f9c0a0b872d35f4401dadad25ef4b06 (patch) | |
tree | 8ced2b66163a45c4ff631d0d1cb35dae7300c195 /tdm/kfrontend | |
parent | 226e5fc71660fd5a5dec8b94415ce00221efd755 (diff) | |
download | tdebase-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 <slavek.banko@axis.cz>
Diffstat (limited to 'tdm/kfrontend')
-rw-r--r-- | tdm/kfrontend/kgapp.cpp | 2 |
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(); |