wayland: Implement remaining attribute getters

This commit is contained in:
Emmanuel Gil Peyrot 2016-04-09 00:55:03 +01:00 committed by Camilla Berglund
parent e673bdc617
commit c301a1e51a

View File

@ -508,8 +508,8 @@ void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
int* left, int* top, int* left, int* top,
int* right, int* bottom) int* right, int* bottom)
{ {
// TODO // TODO: will need a proper implementation once decorations are
fprintf(stderr, "_glfwPlatformGetWindowFrameSize not implemented yet\n"); // implemented, but for now just leave everything as 0.
} }
void _glfwPlatformIconifyWindow(_GLFWwindow* window) void _glfwPlatformIconifyWindow(_GLFWwindow* window)
@ -592,13 +592,12 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
int _glfwPlatformWindowFocused(_GLFWwindow* window) int _glfwPlatformWindowFocused(_GLFWwindow* window)
{ {
// TODO return _glfw.wl.keyboardFocus == window;
return GLFW_FALSE;
} }
int _glfwPlatformWindowIconified(_GLFWwindow* window) int _glfwPlatformWindowIconified(_GLFWwindow* window)
{ {
// TODO // TODO: move to xdg_shell, wl_shell doesn't have any iconified concept.
return GLFW_FALSE; return GLFW_FALSE;
} }