[WINLOGON] Ignore the CTRL+SHIFT+ESC hotkey when the session is not in the logged...
authorEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 16:14:42 +0000 (18:14 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 16:14:42 +0000 (18:14 +0200)
Should fix CORE-13478

base/system/winlogon/sas.c

index fe558c4..1a57a4a 100644 (file)
@@ -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;
                 }
             }