From 099d6af4a85f04191a166acbcdf2968175a66684 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Wed, 19 Jan 2022 22:20:43 +0000 Subject: [PATCH] change panic keyboard shortcut --- kernel/windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/windows.cpp b/kernel/windows.cpp index a5d6138..199efa3 100644 --- a/kernel/windows.cpp +++ b/kernel/windows.cpp @@ -330,7 +330,7 @@ void WindowManager::PressKey(uint32_t scancode) { KMutexAcquire(&mutex); - if (scancode == ES_SCANCODE_NUM_DIVIDE) { + if (scancode == ES_SCANCODE_NUM_DIVIDE && (leftModifiers & ES_MODIFIER_FLAG)) { KernelPanic("WindowManager::PressKey - Panic key pressed.\n"); }