From 0d34960d44abe503e61a6d06744761b069bf1705 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 1 Jan 2023 17:18:37 +0200 Subject: [PATCH] Prevent unnecessary multiple resets --- inputdevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/inputdevice.cpp b/inputdevice.cpp index 1b64b601..f1aa8377 100644 --- a/inputdevice.cpp +++ b/inputdevice.cpp @@ -4182,6 +4182,7 @@ void inputdevice_do_keyboard(int code, int state) } keyboard_reset_seq = 0; } + return; } if (key == AK_RESETWARNING) { -- 2.47.3