From e04367b138b7549c1dc7131c5564ed285d7d6271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Tue, 8 Oct 2013 00:03:45 +0000 Subject: [PATCH] mouse input fix --- src/platform/nacl/nacl-instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nacl/nacl-instance.cpp b/src/platform/nacl/nacl-instance.cpp index 177c5524..22c8fddb 100644 --- a/src/platform/nacl/nacl-instance.cpp +++ b/src/platform/nacl/nacl-instance.cpp @@ -196,7 +196,7 @@ void NaClInputData::Tick(float seconds) { /* TODO: "InScreen" idx hardcoded, not nice */ pp::MouseInputEvent em = pp::MouseInputEvent(e); - m_mouse->SetKey(3, em.GetType() == PP_INPUTEVENT_TYPE_MOUSELEAVE); + m_mouse->SetKey(3, em.GetType() == PP_INPUTEVENT_TYPE_MOUSEENTER); break; } case PP_INPUTEVENT_TYPE_MOUSEMOVE: