diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-16 01:56:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-16 01:56:21 +0000 |
commit | 810b411783a6c4a50d8b63b9a34d11912e0a0291 (patch) | |
tree | d004c518b4b0d0ca3850284eb06a2ca55ecfb0ad /kdm/kfrontend | |
parent | 037217ba8b879294a199df3846e47c52746d23cc (diff) | |
download | tdebase-810b411783a6c4a50d8b63b9a34d11912e0a0291.tar.gz tdebase-810b411783a6c4a50d8b63b9a34d11912e0a0291.zip |
Add tsak
Trinity now has full GUI SAK support, a first for any Linux DE!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253878 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend')
-rw-r--r-- | kdm/kfrontend/kgapp.cpp | 7 |
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; |