From 5365a2380c9eb51e43fe50db4ea3130e6568e0b7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 22 Nov 2014 15:54:07 -0600 Subject: Don't unlock session on VT switch fail --- tdmlib/dmctl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdmlib/dmctl.cpp') 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); } } } -- cgit v1.2.1