diff options
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()) ); + } + } } |