mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 10:35:10 +00:00
Formatting.
This commit is contained in:
parent
1ddafc25a6
commit
7e470518ba
@ -1190,10 +1190,10 @@ static void processSingleEvent(void)
|
|||||||
fprintf(stderr, "Cannot find GLFW window structure for EnterNotify event\n");
|
fprintf(stderr, "Cannot find GLFW window structure for EnterNotify event\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(window->cursorMode == GLFW_CURSOR_HIDDEN)
|
|
||||||
{
|
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
|
||||||
hideMouseCursor(window);
|
hideMouseCursor(window);
|
||||||
}
|
|
||||||
_glfwInputCursorEnter(window);
|
_glfwInputCursorEnter(window);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1207,7 +1207,9 @@ static void processSingleEvent(void)
|
|||||||
fprintf(stderr, "Cannot find GLFW window structure for LeaveNotify event\n");
|
fprintf(stderr, "Cannot find GLFW window structure for LeaveNotify event\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
showMouseCursor(window);
|
showMouseCursor(window);
|
||||||
|
|
||||||
_glfwInputCursorLeave(window);
|
_glfwInputCursorLeave(window);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user