SDL/src/events
Frank Praznik bee6099372 events: Emit an event when a window is destroyed
As child windows can be recursively destroyed when their parents are destroyed, emit an event to notify the application when a window is being or has been implicitly destroyed so that it can appropriately clean up any associated resources.

If the application has registered an event watch, the destroy message will be received when the window handle is still valid, so the application can retrieve and release any userdata associated with the window. If the message is processed at any time after that, the window handle is already invalid and the ID is only useful for application-side bookkeeping purposes.
2023-04-28 15:09:47 -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 Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
SDL_clipboardevents_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_displayevents.c Added SDL_EVENT_DISPLAY_SCALE_CHANGED 2023-03-03 11:16:31 -08: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 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07: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 Fixed build 2023-03-03 09:49:48 -08: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 Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
SDL_keysym_to_scancode_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_mouse.c Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_mouse_c.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00: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 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_touch_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_windowevents.c events: Emit an event when a window is destroyed 2023-04-28 15:09:47 -04:00
SDL_windowevents_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00