mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
8fb95034e8
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. |
||
---|---|---|
.. | ||
blank_cursor.h | ||
default_cursor.h | ||
scancodes_darwin.h | ||
scancodes_linux.h | ||
scancodes_windows.h | ||
scancodes_xfree86.h | ||
SDL_clipboardevents_c.h | ||
SDL_clipboardevents.c | ||
SDL_displayevents_c.h | ||
SDL_displayevents.c | ||
SDL_dropevents_c.h | ||
SDL_dropevents.c | ||
SDL_events_c.h | ||
SDL_events.c | ||
SDL_gesture_c.h | ||
SDL_gesture.c | ||
SDL_keyboard_c.h | ||
SDL_keyboard.c | ||
SDL_mouse_c.h | ||
SDL_mouse.c | ||
SDL_quit.c | ||
SDL_sysevents.h | ||
SDL_touch_c.h | ||
SDL_touch.c | ||
SDL_windowevents_c.h | ||
SDL_windowevents.c |