Commit 7a4623e0 authored by Camilla Berglund's avatar Camilla Berglund
Browse files

Added cursor stubs to Wayland backend.

parent 115c6bc0
......@@ -47,6 +47,7 @@
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWayland wl
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryWayland wl
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorWayland wl
#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorWayland wl
typedef struct _GLFWvidmodeWayland _GLFWvidmodeWayland;
......@@ -89,6 +90,11 @@ typedef struct _GLFWmonitorWayland
int y;
} _GLFWmonitorWayland;
typedef struct _GLFWcursorWayland
{
int dummy;
} _GLFWcursorWayland;
//========================================================================
// Prototypes for platform specific internal functions
......
......@@ -273,3 +273,21 @@ void _glfwPlatformApplyCursorMode(_GLFWwindow* window)
}
}
int _glfwPlatformCreateCursor(_GLFWcursor* cursor,
const GLFWimage* image,
int xhot, int yhot)
{
fprintf(stderr, "_glfwPlatformCreateCursor not implemented yet\n");
return GL_FALSE;
}
void _glfwPlatformDestroyCursor(_GLFWcursor* cursor)
{
fprintf(stderr, "_glfwPlatformDestroyCursor not implemented yet\n");
}
void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
{
fprintf(stderr, "_glfwPlatformSetCursor not implemented yet\n");
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment