This commit is contained in:
Camilla Berglund 2016-02-22 12:29:52 +01:00
parent 70ffae7430
commit bb3b3452f3

View File

@ -620,7 +620,7 @@ static GLFWbool initExtensions(void)
// Create a blank cursor for hidden and disabled cursor modes // Create a blank cursor for hidden and disabled cursor modes
// //
static Cursor createNULLCursor(void) static Cursor createHiddenCursor(void)
{ {
unsigned char pixels[16 * 16 * 4]; unsigned char pixels[16 * 16 * 4];
GLFWimage image = { 16, 16, pixels }; GLFWimage image = { 16, 16, pixels };
@ -743,7 +743,7 @@ int _glfwPlatformInit(void)
if (!initExtensions()) if (!initExtensions())
return GLFW_FALSE; return GLFW_FALSE;
_glfw.x11.cursor = createNULLCursor(); _glfw.x11.cursor = createHiddenCursor();
if (XSupportsLocale()) if (XSupportsLocale())
{ {