mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-08 14:23:22 +00:00
Remove vestiges of the TAKE_FOCUS window event
The event was removed, so remove the rename define and update the coccinelle script.
This commit is contained in:
@@ -2062,7 +2062,7 @@ expression e;
|
||||
@@
|
||||
@@
|
||||
- SDL_WINDOWEVENT_TAKE_FOCUS
|
||||
+ SDL_EVENT_WINDOW_TAKE_FOCUS
|
||||
+ /* FIXME MIGRATION: SDL_WINDOWEVENT_TAKE_FOCUS has been removed; there is no replacement. */ 0
|
||||
@@
|
||||
@@
|
||||
- SDL_WINDOWEVENT_HIT_TEST
|
||||
|
||||
@@ -170,7 +170,6 @@
|
||||
#define SDL_WINDOWEVENT_RESTORED SDL_EVENT_WINDOW_RESTORED
|
||||
#define SDL_WINDOWEVENT_SHOWN SDL_EVENT_WINDOW_SHOWN
|
||||
#define SDL_WINDOWEVENT_SIZE_CHANGED SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
|
||||
#define SDL_WINDOWEVENT_TAKE_FOCUS SDL_EVENT_WINDOW_TAKE_FOCUS
|
||||
#define SDL_eventaction SDL_EventAction
|
||||
|
||||
/* ##SDL_gamecontroller.h */
|
||||
@@ -808,7 +807,6 @@
|
||||
#define SDL_WINDOWEVENT_RESTORED SDL_WINDOWEVENT_RESTORED_renamed_SDL_EVENT_WINDOW_RESTORED
|
||||
#define SDL_WINDOWEVENT_SHOWN SDL_WINDOWEVENT_SHOWN_renamed_SDL_EVENT_WINDOW_SHOWN
|
||||
#define SDL_WINDOWEVENT_SIZE_CHANGED SDL_WINDOWEVENT_SIZE_CHANGED_renamed_SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
|
||||
#define SDL_WINDOWEVENT_TAKE_FOCUS SDL_WINDOWEVENT_TAKE_FOCUS_renamed_SDL_EVENT_WINDOW_TAKE_FOCUS
|
||||
#define SDL_eventaction SDL_eventaction_renamed_SDL_EventAction
|
||||
|
||||
/* ##SDL_gamecontroller.h */
|
||||
|
||||
Reference in New Issue
Block a user