x11: Blocking for window maximization should wait 100 ms, not 1000. Reference Issue #7070. (cherry picked from commit 3030fd815c4d05b5286f7cb9c8a8a2b42cff7bb1)
diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c
index dd93514..2a2a160 100644
--- a/src/video/x11/SDL_x11window.c
+++ b/src/video/x11/SDL_x11window.c
@@ -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);