x11: Blocking for window maximization should wait 100 ms, not 1000.

Reference Issue #7070.
This commit is contained in:
Ryan C. Gordon 2023-08-01 13:55:04 -04:00
parent 5c3df60ec9
commit 3030fd815c
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -1301,7 +1301,7 @@ static void SetWindowMaximized(_THIS, SDL_Window *window, SDL_bool maximized)
X11_XSync(display, False);
prev_handler = X11_XSetErrorHandler(X11_CatchAnyError);
timeout = SDL_GetTicks64() + 1000;
timeout = SDL_GetTicks64() + 100;
while (SDL_TRUE) {
caught_x11_error = SDL_FALSE;
X11_XSync(display, False);