Searched refs:relative_mode (Results 1 – 11 of 11) sorted by relevance
240 if (!mouse->relative_mode) {277 if (mouse->cursor_shown && !mouse->relative_mode &&580 if (enabled == mouse->relative_mode) {603 mouse->relative_mode = enabled;628 return mouse->relative_mode;811 if (cursor && mouse->cursor_shown && !mouse->relative_mode) {
84 SDL_bool relative_mode; member
128 SDL_SendMouseMotion(sdl_window, 0, mouse->relative_mode, x, y); in HandleMouseMotion()214 if (mouse->relative_mode) { in HandleMouseEvent()
235 if (!mouse->relative_mode) {242 if (!mouse->relative_mode) {394 if (!mouse->relative_mode) {
460 if (mouse->relative_mode && !mouse->relative_mode_warp && mouse->focus == _data->window) {572 if (mouse->relative_mode && !mouse->relative_mode_warp && ![self isMoving]) {577 if (!mouse->relative_mode) {605 if (mouse->relative_mode && !mouse->relative_mode_warp) {932 if (mouse->relative_mode) {1109 if (mouse->cursor_shown && mouse->cur_cursor && !mouse->relative_mode) {
86 if (mouse->relative_mode) {
459 if (!mouse->relative_mode || mouse->relative_mode_warp) { in WIN_WindowProc()479 if (!mouse->relative_mode || mouse->relative_mode_warp) { in WIN_WindowProc()492 const SDL_bool isRelative = mouse->relative_mode || mouse->relative_mode_warp; in WIN_WindowProc()584 …if (SDL_GetMouseFocus() == data->window && !SDL_GetMouse()->relative_mode && !(data->window->flags… in WIN_WindowProc()
810 if ((mouse->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) && in WIN_UpdateClipCursor()812 if (mouse->relative_mode && !mouse->relative_mode_warp) { in WIN_UpdateClipCursor()
147 if (!mouse->relative_mode || mouse->relative_mode_warp) { in X11_HandleXinput2Event()
658 if (!mouse->relative_mode) { in X11_DispatchEvent()675 if (!SDL_GetMouse()->relative_mode) { in X11_DispatchEvent()1004 if(!mouse->relative_mode || mouse->relative_mode_warp) { in X11_DispatchEvent()
2373 if ((SDL_GetMouse()->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) && in SDL_UpdateWindowGrab()2493 if (mouse && mouse->relative_mode) { in SDL_OnWindowFocusGained()3643 SDL_bool relative_mode; in SDL_ShowMessageBox() local3654 relative_mode = SDL_GetRelativeMouseMode(); in SDL_ShowMessageBox()3722 SDL_SetRelativeMouseMode(relative_mode); in SDL_ShowMessageBox()