diff options
author | Ken Moore <moorekou@gmail.com> | 2015-11-04 15:17:55 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-11-04 15:17:55 -0500 |
commit | 8b95f0279ddf0d35141ed5bf7aa348b2b761aebc (patch) | |
tree | c01e1d39518f150e02e4ffb35d915415c2947e1b /lumina-wm-INCOMPLETE/WMSession.cpp | |
parent | Tweak the text in the desktop plugin menu a bit. (diff) | |
download | lumina-8b95f0279ddf0d35141ed5bf7aa348b2b761aebc.tar.gz lumina-8b95f0279ddf0d35141ed5bf7aa348b2b761aebc.tar.bz2 lumina-8b95f0279ddf0d35141ed5bf7aa348b2b761aebc.zip |
Get the new lockscreen all setup and (somewhat) functional in the screensaver. Also setup the screensaver so that the "--test-ss" option makes it fully-functional even if the WM event handler is not installed for valid testing).
The *only* thing which is still broken is that PAM is allowing all passwords for the user to unlock the system (probably some kind of password cache for the current credentials?). Still need to find some way to register a "lock" with PAM so that it forces the validation of the user's login credentials again.
Diffstat (limited to 'lumina-wm-INCOMPLETE/WMSession.cpp')
-rw-r--r-- | lumina-wm-INCOMPLETE/WMSession.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lumina-wm-INCOMPLETE/WMSession.cpp b/lumina-wm-INCOMPLETE/WMSession.cpp index 23dd963a..bed31ed9 100644 --- a/lumina-wm-INCOMPLETE/WMSession.cpp +++ b/lumina-wm-INCOMPLETE/WMSession.cpp @@ -41,6 +41,10 @@ void WMSession::reloadIcons(){ } -void WMSession::newInputsAvailable(QStringList){ - +void WMSession::newInputsAvailable(QStringList inputs){ + for(int i=0; i<inputs.length(); i++){ + if(inputs[i]=="--lock-now" || inputs[i]=="--test-ss"){ + QTimer::singleShot(0,SS, SLOT(LockScreenNow()) ); + } + } } |