summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/lock/lockprocess.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 91b18c822..24fd8b939 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -966,6 +966,12 @@ void LockProcess::ungrabInput()
//
bool LockProcess::startSaver()
{
+ m_startupStatusDialog = new KSMModalDialog(this);
+ m_startupStatusDialog->setStatusMessage(i18n("Securing desktop session").append("..."));
+ m_startupStatusDialog->show();
+ m_startupStatusDialog->setActiveWindow();
+ tqApp->processEvents();
+
if (!child_saver && !grabInput())
{
kdWarning(1204) << "LockProcess::startSaver() grabInput() failed!!!!" << endl;
@@ -988,12 +994,6 @@ bool LockProcess::startSaver()
p.end();
setBackgroundPixmap( m_root );
- m_startupStatusDialog = new KSMModalDialog(this);
- m_startupStatusDialog->setStatusMessage(i18n("Securing desktop session").append("..."));
- m_startupStatusDialog->show();
- m_startupStatusDialog->setActiveWindow();
- tqApp->processEvents();
-
saveVRoot();
if (mParent) {