mirror of https://gitlab.com/nakst/essence
change panic keyboard shortcut
This commit is contained in:
parent
29ac988b0f
commit
099d6af4a8
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue