Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2020-07-11 22:57:53 +05:30
commit 2cfcefd9eb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

6
glfw/x11_window.c vendored
View File

@ -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;
}