summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-22 15:54:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-22 15:54:07 -0600
commit5365a2380c9eb51e43fe50db4ea3130e6568e0b7 (patch)
tree7bdae40753b4bf255ec82d5a27db864d87b82e6a
parentc7056bbf7b320a5855760c6b6ecd3f14606e5306 (diff)
downloadtdebase-5365a2380c9eb51e43fe50db4ea3130e6568e0b7.tar.gz
tdebase-5365a2380c9eb51e43fe50db4ea3130e6568e0b7.zip
Don't unlock session on VT switch fail
-rw-r--r--tdmlib/dmctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdmlib/dmctl.cpp b/tdmlib/dmctl.cpp
index 6ee7722a2..6fea12b5a 100644
--- a/tdmlib/dmctl.cpp
+++ b/tdmlib/dmctl.cpp
@@ -401,7 +401,7 @@ DM::lockSwitchVT( int vt )
kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "lock()", data, replyType, replyData);
if (!switchVT( vt )) {
// Switching VT failed; unlock...
- kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "unlock()", data, replyType, replyData);
+ // kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "unlock()", data, replyType, replyData);
}
}
}