mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -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:
parent
cd51d285e6
commit
b1033a3443
|
@ -574,7 +574,7 @@ int _glfwPlatformInit(void)
|
||||||
_glfwInitJoysticks();
|
_glfwInitJoysticks();
|
||||||
|
|
||||||
if (_glfw.wl.pointer && _glfw.wl.shm){
|
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) {
|
if (!_glfw.wl.cursorTheme) {
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: Unable to load default cursor theme\n");
|
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: Unable to load default cursor theme\n");
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user