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"); }