Fix desktop lock

(cherry picked from commit 5f8d730703)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 26185aa130
commit 9512f43dd8

@ -630,6 +630,8 @@ void LockProcess::startSecureDialog()
return;
}
setGeometry(0, 0, mRootWidth, mRootHeight);
int ret;
SecureDlg inDlg( this );
inDlg.setRetInt(&ret);

@ -181,14 +181,14 @@ int main( int argc, char **argv )
rt = process.runSecureDialog();
}
else {
return 1;
return 0;
}
}
else {
rt = process.defaultSave();
}
if (!rt) {
return 1;
return 0;
}
if( sig )

@ -372,6 +372,7 @@ printf("Lock process exited\n\r"); fflush(stdout);
}
if (mTerminationRequested == true) {
abnormalExit = false;
mTerminationRequested = false;
}
if (abnormalExit == true) {
// PROBABLE HACKING ATTEMPT DETECTED

Loading…
Cancel
Save