Lines Matching defs:cursor
455 // Updates the cursor image according to its cursor mode
462 if (window->cursor)
465 window->cursor->x11.handle);
477 // Grabs the cursor and confines it to the window
489 // Ungrabs the cursor
525 // Apply disabled cursor mode to a focused window
541 // Exit disabled cursor mode for the specified window
1435 // ignore the defined cursor for hidden cursor mode
1461 // The cursor was moved by something other than GLFW
2805 // NOTE: Re-center the cursor only if it has moved since the last call,
2938 GLFWbool _glfwCreateCursorX11(_GLFWcursor* cursor,
2942 cursor->x11.handle = _glfwCreateNativeCursorX11(image, xhot, yhot);
2943 if (!cursor->x11.handle)
2949 GLFWbool _glfwCreateStandardCursorX11(_GLFWcursor* cursor, int shape)
2996 cursor->x11.handle = XcursorImageLoadCursor(_glfw.x11.display, image);
3002 if (!cursor->x11.handle)
3031 "X11: Standard cursor shape unavailable");
3035 cursor->x11.handle = XCreateFontCursor(_glfw.x11.display, native);
3036 if (!cursor->x11.handle)
3039 "X11: Failed to create standard cursor");
3047 void _glfwDestroyCursorX11(_GLFWcursor* cursor)
3049 if (cursor->x11.handle)
3050 XFreeCursor(_glfw.x11.display, cursor->x11.handle);
3053 void _glfwSetCursorX11(_GLFWwindow* window, _GLFWcursor* cursor)