From: U-i7\gimy Date: Tue, 1 Sep 2009 15:03:23 +0000 (+0900) Subject: delete unnecessary queue lock in Engine::injectInput(), this fix freeze on wheel... X-Git-Tag: v0.03~9 X-Git-Url: http://git.osdn.net/view?p=yamy%2Fyamy.git;a=commitdiff_plain;h=7f9fe9a691086b92fb768cd5bfdc27412e512c4b;hp=90b42d5268ddf18789020f657535037028f5fc25 delete unnecessary queue lock in Engine::injectInput(), this fix freeze on wheel event --- 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;