GLFW: Add support for window occluded notifications on macOS

Based on: https://github.com/glfw/glfw/pull/1123
This commit is contained in:
Kovid Goyal
2019-02-18 09:34:26 +05:30
parent c8bb7aae40
commit dcb2d95f9a
9 changed files with 127 additions and 2 deletions

5
glfw/wl_window.c vendored
View File

@@ -1239,6 +1239,11 @@ int _glfwPlatformWindowFocused(_GLFWwindow* window)
return _glfw.wl.keyboardFocus == window;
}
int _glfwPlatformWindowOccluded(_GLFWwindow* window)
{
return GLFW_FALSE;
}
int _glfwPlatformWindowIconified(_GLFWwindow* window)
{
// wl_shell doesn't have any iconified concept, and xdg-shell doesnt give