1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00
This commit is contained in:
Camilla Löwy 2022-02-18 15:35:09 +01:00 committed by Camilla Löwy
parent 87970b7f26
commit 363d471441

View File

@ -2778,8 +2778,6 @@ GLFWbool _glfwRawMouseMotionSupportedX11(void)
void _glfwPollEventsX11(void)
{
_GLFWwindow* window;
#if defined(__linux__)
if (_glfw.joysticksInitialized)
_glfwDetectJoystickConnectionLinux();
@ -2793,7 +2791,7 @@ void _glfwPollEventsX11(void)
processEvent(&event);
}
window = _glfw.x11.disabledCursorWindow;
_GLFWwindow* window = _glfw.x11.disabledCursorWindow;
if (window)
{
int width, height;