summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
Diffstat (limited to 'kdm')
-rw-r--r--kdm/kfrontend/kgapp.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp
index ac99a4bc3..5e1581fb2 100644
--- a/kdm/kfrontend/kgapp.cpp
+++ b/kdm/kfrontend/kgapp.cpp
@@ -185,6 +185,11 @@ kg_main( const char *argv0 )
KApplication::disableAutoDcopRegistration();
KCrash::setSafer( true );
+ trinity_desktop_lock_use_sak = _useSAK;
+ if (trinity_desktop_lock_use_sak) {
+ system(TQString(TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak &").ascii());
+ }
+
#ifdef HAVE_XCOMPOSITE
// Begin ARGB initialization
XSetErrorHandler( ignoreXError );
@@ -298,8 +303,6 @@ kg_main( const char *argv0 )
has_kwin = true;
}
- trinity_desktop_lock_use_sak = _useSAK;
-
GSendInt( G_Ready );
kdDebug() << timestamp() << " main1" << endl;