Merge commit '6dc50a78fc4cd53b68892135c61cb130c1253277' into main

main
Sam Lantinga 2023-01-12 12:50:41 -08:00
commit d1694472e2
2 changed files with 0 additions and 5 deletions

View File

@ -58,8 +58,6 @@ int Android_CreateWindow(_THIS, SDL_Window *window)
window->w = Android_SurfaceWidth;
window->h = Android_SurfaceHeight;
window->flags &= ~SDL_WINDOW_HIDDEN;
/* One window, it always has focus */
SDL_SetMouseFocus(window);
SDL_SetKeyboardFocus(window);

View File

@ -99,9 +99,6 @@ static int SetupWindowData(_THIS, SDL_Window *window, UIWindow *uiwindow, SDL_bo
data.uiwindow = uiwindow;
/* only one window on iOS, always shown */
window->flags &= ~SDL_WINDOW_HIDDEN;
if (displaydata.uiscreen != [UIScreen mainScreen]) {
window->flags &= ~SDL_WINDOW_RESIZABLE; /* window is NEVER resizable */
window->flags &= ~SDL_WINDOW_INPUT_FOCUS; /* never has input focus */