From ac805e6f7c9a90ae2b8f5eefbe63b8ddd7a022f4 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 23 Jul 2018 21:56:06 +0300 Subject: [PATCH] Ignore release. --- inputdevice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inputdevice.cpp b/inputdevice.cpp index 399d320f..57aed767 100644 --- a/inputdevice.cpp +++ b/inputdevice.cpp @@ -4050,6 +4050,8 @@ static struct inputcode inputcode_pending[MAX_PENDING_EVENTS]; static bool inputdevice_handle_inputcode_immediate(int code, int state) { + if (!state) + return false; switch(code) { case AKS_ENTERDEBUGGER: -- 2.47.3