mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Issue 309: hide cursor on EnterNotify
This commit is contained in:
parent
4188c263e3
commit
d7a1cd14b7
@ -1054,6 +1054,9 @@ static void processEvent(XEvent *event)
|
||||
|
||||
case EnterNotify:
|
||||
{
|
||||
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
|
||||
hideCursor(window);
|
||||
|
||||
_glfwInputCursorEnter(window, GL_TRUE);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user