mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
cf092eca90
The X11 target sets mouse->last_x and last_y in EnterNotify and then calls SDL_SendMouseMotion(), which throws away the new position because it matches the mouse->last_x and last_y we just set, meaning that if the pointer is in the window when it created, SDL_GetMouseState() will report a position of 0,0 until a MotionNotify event (the pointer moves) arrives and corrects the mouse state. Mostly fixes Bugzilla #1612. |
||
---|---|---|
.. | ||
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 |