SDL/src/events
Frank Praznik 2fff999a41 Try to create the dummy mouse cursor after video backend initialization
The mouse->CreateCursor function pointer will always be null if checked before the video backend is initialized, so a dummy default cursor with null internal structures was being created in all cases, not just for backends lacking cursor functionality. Move the check to after the video subsystem is initialized, when the function pointer check is valid.

Passing this dummy cursor with null internal structures to the Wayland backend would cause a crash, as it requires the internal cursor structures to be valid in order to store cursor backing data, even for default system cursors.
2023-07-27 13:00:50 -04:00
..
blank_cursor.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
default_cursor.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
imKStoUCS.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
imKStoUCS.h wayland: Reuse KeySymToUcs4 to replicate X11 keymap behavior 2021-09-23 11:50:47 -07:00
scancodes_ascii.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
scancodes_darwin.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
scancodes_linux.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
scancodes_windows.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
scancodes_xfree86.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_clipboardevents.c Removed SDL_EVENT_CLIPBOARD_CANCELLED in favor of the cleanup callback 2023-07-05 20:06:59 -07:00
SDL_clipboardevents_c.h Removed SDL_EVENT_CLIPBOARD_CANCELLED in favor of the cleanup callback 2023-07-05 20:06:59 -07:00
SDL_displayevents.c Added the concept of display natural orientation 2023-06-17 07:42:16 -07:00
SDL_displayevents_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dropevents.c Add Drag and drop position, for x11, wayland and MACOSX 2023-03-06 08:44:05 -08:00
SDL_dropevents_c.h Add Drag and drop position, for x11, wayland and MACOSX 2023-03-06 08:44:05 -08:00
SDL_events.c Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00
SDL_events_c.h Added SDL_GetSystemTheme() to return whether the system is using a dark or light color theme, and SDL_EVENT_SYSTEM_THEME_CHANGED is sent when this changes 2023-03-09 03:25:20 -08:00
SDL_keyboard.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_keyboard_c.h Make sure the window is valid in SDL_SetKeyboardFocus() 2023-03-03 09:09:11 -08:00
SDL_keysym_to_scancode.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_keysym_to_scancode_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_mouse.c Try to create the dummy mouse cursor after video backend initialization 2023-07-27 13:00:50 -04:00
SDL_mouse_c.h Try to create the dummy mouse cursor after video backend initialization 2023-07-27 13:00:50 -04:00
SDL_quit.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
SDL_scancode_tables.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
SDL_scancode_tables_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_touch.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_touch_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_windowevents.c Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00
SDL_windowevents_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00