Issue 309: hide cursor on EnterNotify

This commit is contained in:
Aleksey Rybalkin 2015-01-23 20:38:12 +03:00
parent 4188c263e3
commit d7a1cd14b7

View File

@ -1054,6 +1054,9 @@ static void processEvent(XEvent *event)
case EnterNotify:
{
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
hideCursor(window);
_glfwInputCursorEnter(window, GL_TRUE);
break;
}