expikr
345cab1e36
streamline cursor clipping logic on windows ( #11237 )
...
This commit does the following:
- add logic in the `WM_MOUSEMOVE` case of the Window to conditionally call `WIN_UpdateClipCursor` upon receiving cursor motion if SDL is expecting the mouse to be clipped in some way (Fixes #7890 )
- remove Windows-specific periodic refresh of cursor clipping and its `SDL_HINT_MOUSE_RELATIVE_CLIP_INTERVAL` hint (superceded by the above bullet point)
- streamline the processing logic within `WIN_UpdateClipCursor` for better readability of each branch, and avoid calling the Platform API until it is absolutely necessary.
- move `relative_mouse_center` field from Windows-specific per-window `SDL_WindowData` to the global `SDL_Mouse` struct, and the corresponding hint callbacks to `SDL_mouse.c` instead of `SDL_windowswindow.c`
2024-12-18 17:25:06 -08:00
..
2024-12-16 01:10:37 -05:00
2024-12-05 08:29:19 +00:00
2024-11-22 15:52:31 -05:00
2024-12-02 00:37:15 +00:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-12-16 06:13:48 +00:00
2024-12-16 06:13:48 +00:00
2024-12-16 01:10:37 -05:00
2024-05-16 11:48:23 -04:00
2024-12-16 06:13:48 +00:00
2024-12-16 01:10:37 -05:00
2024-05-16 11:48:23 -04:00
2024-12-16 06:13:48 +00:00
2024-12-16 01:10:37 -05:00
2024-12-18 13:02:14 -08:00
2024-11-28 04:42:44 +00:00
2024-10-23 12:22:43 -04:00
2024-12-18 14:18:33 -08:00
2024-12-16 01:10:37 -05:00
2024-10-23 12:22:43 -04:00
2024-10-23 12:22:43 -04:00
2024-12-18 17:25:06 -08:00
2024-12-06 00:49:29 +00:00
2024-12-17 23:33:05 -05:00
2024-11-14 01:12:18 +00:00
2024-12-16 06:13:48 +00:00
2024-12-16 01:10:37 -05:00
2024-12-16 06:13:48 +00:00
2024-12-16 06:13:48 +00:00
2024-12-16 01:10:37 -05:00
2024-11-28 04:36:33 +00:00
2024-12-11 13:29:43 -05:00
2024-12-16 06:13:48 +00:00
2024-11-22 15:52:31 -05:00
2024-10-23 12:22:43 -04:00
2024-10-23 12:22:43 -04:00
2024-12-05 13:53:51 -08:00
2024-10-23 12:22:43 -04:00
2024-10-23 18:50:52 -04:00
2024-08-29 17:33:52 -07:00
2024-10-12 11:21:07 -04:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2024-05-16 11:48:23 -04:00
2024-05-16 11:48:23 -04:00
2024-10-23 12:22:43 -04:00
2024-12-18 06:22:41 +00:00
2024-12-11 13:29:43 -05:00
2024-10-23 12:22:43 -04:00
2024-10-23 12:22:43 -04:00
2024-12-19 01:06:43 +00:00
2024-10-23 12:22:43 -04:00
2024-10-23 12:22:43 -04:00
2024-12-18 15:41:13 +00:00
2024-10-23 12:22:43 -04:00
2024-12-16 06:13:48 +00:00
2024-12-18 01:18:40 -05:00
2024-12-18 06:22:41 +00:00
2024-10-27 21:42:48 +00:00
2024-12-18 14:20:24 -08:00
2024-11-28 04:36:33 +00:00
2024-09-06 14:19:05 +02:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-09-28 16:55:09 -07:00
2024-12-16 01:10:37 -05:00
2024-09-18 08:32:30 -07:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-12-16 01:10:37 -05:00
2024-10-23 12:22:43 -04:00
2024-10-23 12:22:43 -04:00
2024-11-28 04:36:33 +00:00
2024-10-23 12:22:43 -04:00
2024-11-01 15:49:31 -07:00
2024-12-17 15:46:19 +00:00
2024-10-29 20:30:10 +03:00
2024-12-16 01:10:37 -05:00