From 7f9fe9a691086b92fb768cd5bfdc27412e512c4b Mon Sep 17 00:00:00 2001 From: "U-i7\\gimy" Date: Wed, 2 Sep 2009 00:03:23 +0900 Subject: [PATCH] delete unnecessary queue lock in Engine::injectInput(), this fix freeze on wheel event --- engine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/engine.cpp b/engine.cpp index ac462f2..f404ae0 100644 --- a/engine.cpp +++ b/engine.cpp @@ -610,7 +610,6 @@ void Engine::beginGeneratingKeyboardEvents( unsigned int Engine::injectInput(const KEYBOARD_INPUT_DATA *i_kid, const KBDLLHOOKSTRUCT *i_kidRaw) { if (i_kid->Flags & KEYBOARD_INPUT_DATA::E1) { - Acquire a(&m_cskidq); INPUT kid[2]; int count = 1;