Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
2cfcefd9eb
6
glfw/x11_window.c
vendored
6
glfw/x11_window.c
vendored
@ -2470,11 +2470,9 @@ int _glfwPlatformWindowHovered(_GLFWwindow* window)
|
|||||||
|
|
||||||
if (_glfw.x11.errorCode == BadWindow)
|
if (_glfw.x11.errorCode == BadWindow)
|
||||||
w = _glfw.x11.root;
|
w = _glfw.x11.root;
|
||||||
|
else if (!result)
|
||||||
if (!result)
|
|
||||||
return false;
|
return false;
|
||||||
|
else if (w == window->x11.handle)
|
||||||
if (w == window->x11.handle)
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user