aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/WMSession.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-11-04 15:17:55 -0500
committerKen Moore <moorekou@gmail.com>2015-11-04 15:17:55 -0500
commit8b95f0279ddf0d35141ed5bf7aa348b2b761aebc (patch)
treec01e1d39518f150e02e4ffb35d915415c2947e1b /lumina-wm-INCOMPLETE/WMSession.cpp
parentTweak the text in the desktop plugin menu a bit. (diff)
downloadlumina-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.cpp8
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()) );
+ }
+ }
}
bgstack15