https://git.reactos.org/?p=reactos.git;a=commitdiff;h=46dcab7ab1aa8c30892f27af390964758ce08df2

commit 46dcab7ab1aa8c30892f27af390964758ce08df2
Author:     Eric Kohl <eric.k...@reactos.org>
AuthorDate: Tue May 22 18:14:42 2018 +0200
Commit:     Eric Kohl <eric.k...@reactos.org>
CommitDate: Tue May 22 18:14:42 2018 +0200

    [WINLOGON] Ignore the CTRL+SHIFT+ESC hotkey when the session is not in the 
logged-on state
    
    Should fix CORE-13478
---
 base/system/winlogon/sas.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/base/system/winlogon/sas.c b/base/system/winlogon/sas.c
index fe558c452c..1a57a4ad6e 100644
--- a/base/system/winlogon/sas.c
+++ b/base/system/winlogon/sas.c
@@ -1328,7 +1328,8 @@ SASWindowProc(
                 case MAKELONG(MOD_CONTROL | MOD_SHIFT, VK_ESCAPE):
                 {
                     TRACE("SAS: CONTROL+SHIFT+ESCAPE\n");
-                    DoGenericAction(Session, WLX_SAS_ACTION_TASKLIST);
+                    if (Session->LogonState == STATE_LOGGED_ON)
+                        DoGenericAction(Session, WLX_SAS_ACTION_TASKLIST);
                     return TRUE;
                 }
             }

Reply via email to