summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-10-11 09:59:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-11 10:02:23 +0200
commit604b02fe361c1f3254e1a86fde449c542a970afd (patch)
treec5762f74b9d5677f16be656b6b1d240cac6043d2 /tdm/kfrontend
parent5613190366a790ea7436839bdec7cb4a01183736 (diff)
downloadtdebase-604b02fe361c1f3254e1a86fde449c542a970afd.tar.gz
tdebase-604b02fe361c1f3254e1a86fde449c542a970afd.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> (cherry picked from commit adbe9f7f5f9c0a0b872d35f4401dadad25ef4b06)
Diffstat (limited to 'tdm/kfrontend')
-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 2d630485e..318d6bd07 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -541,7 +541,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();