SDL/src/video/windows
Sam Lantinga 91a55a02de Relative mouse motion is delivered to the window with keyboard focus
This was the original intent (note SDL_UpdateWindowGrab() in SDL_OnWindowFocusGained() and SDL_OnWindowFocusLost()) and fixes a bug where relative motion unexpectedly stops if the task bar is covering the bottom of the game window and the mouse happens to move over it while relative mode is enabled.

Another alternative would be to confine the mouse when relative mode is enabled, but that generates mouse motion which would need to be ignored, and it's possible for the user moving the mouse to combine with the mouse moving into the confined area so you can't easily tell whether to ignore the mouse motion. See https://github.com/libsdl-org/SDL/issues/4165 for a case where this is problematic.
2021-08-14 00:00:57 -07:00
..
SDL_msctf.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_vkeys.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsclipboard.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsclipboard.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsevents.c Relative mouse motion is delivered to the window with keyboard focus 2021-08-14 00:00:57 -07:00
SDL_windowsevents.h Modifies WaitEvent and WaitEventTimeout to actually wait instead of polling 2021-06-04 13:50:50 -07:00
SDL_windowsframebuffer.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsframebuffer.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowskeyboard.c Added KMOD_SCROLL to track the scroll lock state 2021-08-10 17:50:17 -07:00
SDL_windowskeyboard.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsmessagebox.c SDL_windowsmessagebox.c (MessageBoxDialogProc): fix calling convention. 2021-04-30 11:25:20 +03:00
SDL_windowsmessagebox.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsmodes.c video/windows: ANSI/UNICODE updates (cf. bug 5435): 2021-01-05 15:50:10 +03:00
SDL_windowsmodes.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsmouse.c Reset rawInputEnableCount when RawInput is not supported 2021-07-11 14:51:31 -07:00
SDL_windowsmouse.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsopengl.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsopengl.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsopengles.c windows: convert "//" comment to "/**/", add a FIXME. 2021-07-28 14:37:33 -04:00
SDL_windowsopengles.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsshape.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsshape.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowstaskdialog.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsvideo.c Implement bare minimum for SDL_FlashWindow 2021-06-04 15:07:55 -07:00
SDL_windowsvideo.h Modifies WaitEvent and WaitEventTimeout to actually wait instead of polling 2021-06-04 13:50:50 -07:00
SDL_windowsvulkan.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowsvulkan.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_windowswindow.c Fixing WM_CHAR event handling for Unicode characters outside the Basic Multilingual Plane. 2021-08-10 12:07:11 -07:00
SDL_windowswindow.h Fixing WM_CHAR event handling for Unicode characters outside the Basic Multilingual Plane. 2021-08-10 12:07:11 -07:00
wmmsg.h wmmsg.h: constified wmtab 2021-01-05 15:15:37 +03:00