mirror of https://github.com/libsdl-org/SDL.git
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:
parent
596ef1ba2e
commit
c9ffa3f9e1
|
|
@ -2062,7 +2062,7 @@ expression e;
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_WINDOWEVENT_TAKE_FOCUS
|
- 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
|
- SDL_WINDOWEVENT_HIT_TEST
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,6 @@
|
||||||
#define SDL_WINDOWEVENT_RESTORED SDL_EVENT_WINDOW_RESTORED
|
#define SDL_WINDOWEVENT_RESTORED SDL_EVENT_WINDOW_RESTORED
|
||||||
#define SDL_WINDOWEVENT_SHOWN SDL_EVENT_WINDOW_SHOWN
|
#define SDL_WINDOWEVENT_SHOWN SDL_EVENT_WINDOW_SHOWN
|
||||||
#define SDL_WINDOWEVENT_SIZE_CHANGED SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
|
#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
|
#define SDL_eventaction SDL_EventAction
|
||||||
|
|
||||||
/* ##SDL_gamecontroller.h */
|
/* ##SDL_gamecontroller.h */
|
||||||
|
|
@ -808,7 +807,6 @@
|
||||||
#define SDL_WINDOWEVENT_RESTORED SDL_WINDOWEVENT_RESTORED_renamed_SDL_EVENT_WINDOW_RESTORED
|
#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_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_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
|
#define SDL_eventaction SDL_eventaction_renamed_SDL_EventAction
|
||||||
|
|
||||||
/* ##SDL_gamecontroller.h */
|
/* ##SDL_gamecontroller.h */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue