X11: Fix cursor hover query retry behavior
From upstream: https://github.com/glfw/glfw/commit/49dbcfcb8c5a0f16fc914a114c8d5cfc1a5f97c8.
This commit is contained in:
Vendored
+2
-4
@@ -2470,11 +2470,9 @@ int _glfwPlatformWindowHovered(_GLFWwindow* window)
|
||||
|
||||
if (_glfw.x11.errorCode == BadWindow)
|
||||
w = _glfw.x11.root;
|
||||
|
||||
if (!result)
|
||||
else if (!result)
|
||||
return false;
|
||||
|
||||
if (w == window->x11.handle)
|
||||
else if (w == window->x11.handle)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user