1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

wayland: Default to 32 cursor image size

This is the default across various toolkits (weston, GTK+ for example)
so lets stick to that.
This commit is contained in:
Jonas Ådahl 2014-09-28 21:51:12 +02:00
parent cd51d285e6
commit b1033a3443

View File

@ -574,7 +574,7 @@ int _glfwPlatformInit(void)
_glfwInitJoysticks();
if (_glfw.wl.pointer && _glfw.wl.shm){
_glfw.wl.cursorTheme = wl_cursor_theme_load(NULL, 24, _glfw.wl.shm);
_glfw.wl.cursorTheme = wl_cursor_theme_load(NULL, 32, _glfw.wl.shm);
if (!_glfw.wl.cursorTheme) {
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: Unable to load default cursor theme\n");
return GL_FALSE;