sdl2_frt/src/events
Dean Herbert 8fb95034e8 Avoid warping the cursor to the center of the window when not in relative_warp_mode
When relative mode is enabled and not using warp mode, the cursor is
being clipped to the window. Therefore there is no reason to restore the
cursor position to the center.

Avoiding the warp to center simplifies mouse position event flow, as we
are no longer potentially receiving mouse events for the automated
movement of the cursor and can be (mostly) assured that an incoming
event from the windowing system is that of external means.
2021-07-08 09:27:09 -07:00
..
blank_cursor.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
default_cursor.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
scancodes_darwin.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
scancodes_linux.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
scancodes_windows.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
scancodes_xfree86.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_clipboardevents_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_clipboardevents.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_displayevents_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_displayevents.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dropevents_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dropevents.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_events_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_events.c Pump events each time through the loop in SDL_WaitEventTimeout_Device() 2021-06-24 12:14:17 -07:00
SDL_gesture_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_gesture.c Fixed bug 5465 - Invalid memcpy inside SDL_GestureDelTouch (Thanks dmikushin and Yuki Okumura) 2021-01-10 22:21:12 +01:00
SDL_keyboard_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_keyboard.c SDL_keyboard.c: Add bounds guards when assigning to the scancode array. 2021-06-12 08:00:50 +03:00
SDL_mouse_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_mouse.c Avoid warping the cursor to the center of the window when not in relative_warp_mode 2021-07-08 09:27:09 -07:00
SDL_quit.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_sysevents.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_touch_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_touch.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowevents_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowevents.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00