From cde2dcd0d49f929aeb2ed3b6a4fc074482c1550c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 27 Mar 2024 11:39:10 -0700 Subject: [PATCH] Note that SDL_EVENT_SYSWM has been removed Fixes https://github.com/libsdl-org/SDL/issues/9382 --- docs/README-migration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/README-migration.md b/docs/README-migration.md index 1a6ee51fce..82256fe87d 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -392,12 +392,14 @@ The following symbols have been renamed: * SDL_RENDER_DEVICE_RESET => SDL_EVENT_RENDER_DEVICE_RESET * SDL_RENDER_TARGETS_RESET => SDL_EVENT_RENDER_TARGETS_RESET * SDL_SENSORUPDATE => SDL_EVENT_SENSOR_UPDATE -* SDL_SYSWMEVENT => SDL_EVENT_SYSWM * SDL_TEXTEDITING => SDL_EVENT_TEXT_EDITING * SDL_TEXTEDITING_EXT => SDL_EVENT_TEXT_EDITING_EXT * SDL_TEXTINPUT => SDL_EVENT_TEXT_INPUT * SDL_USEREVENT => SDL_EVENT_USER +The following symbols have been removed: +* SDL_SYSWMEVENT - you can use SDL_SetWindowsMessageHook() and SDL_SetX11EventHook() to watch and modify system events before SDL sees them. + The following structures have been renamed: * SDL_ControllerAxisEvent => SDL_GamepadAxisEvent * SDL_ControllerButtonEvent => SDL_GamepadButtonEvent