mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-29 02:34:23 +00:00
Remove the SDL_EVENT_WINDOW_TAKE_FOCUS event
This was added by the Unreal Engine to handle the input focus for popups and dialogs, window types for which SDL3 has built-in, cross-platform support. This was only ever implemented in X11, and the only purpose was to hint that a client application may want to call the SDL_SetWindowInputFocus() function, which has since been removed, rendering it pointless now.
This commit is contained in:
@@ -2008,10 +2008,12 @@ The following symbols have been renamed:
|
||||
* SDL_WINDOWEVENT_RESTORED => SDL_EVENT_WINDOW_RESTORED
|
||||
* SDL_WINDOWEVENT_SHOWN => SDL_EVENT_WINDOW_SHOWN
|
||||
* SDL_WINDOWEVENT_SIZE_CHANGED => SDL_EVENT_WINDOW_SIZE_CHANGED
|
||||
* SDL_WINDOWEVENT_TAKE_FOCUS => SDL_EVENT_WINDOW_TAKE_FOCUS
|
||||
* SDL_WINDOW_ALLOW_HIGHDPI => SDL_WINDOW_HIGH_PIXEL_DENSITY
|
||||
* SDL_WINDOW_INPUT_GRABBED => SDL_WINDOW_MOUSE_GRABBED
|
||||
|
||||
The following symbols have been removed:
|
||||
* SDL_WINDOWEVENT_TAKE_FOCUS
|
||||
|
||||
The following window operations are now considered to be asynchronous requests and should not be assumed to succeed unless
|
||||
a corresponding event has been received:
|
||||
* SDL_SetWindowSize() (SDL_EVENT_WINDOW_RESIZED)
|
||||
|
||||
Reference in New Issue
Block a user