x11: Fix maximized splash-boot screen bug.

Fixes #14336
This commit is contained in:
Enzo Nocera 2017-12-24 00:59:51 +01:00
parent 9969c5c6a1
commit 6f3486c486

View file

@ -1050,6 +1050,10 @@ void OS_X11::set_window_maximized(bool p_enabled) {
XSendEvent(x11_display, DefaultRootWindow(x11_display), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev);
while (p_enabled && !is_window_maximized()) {
// Wait for effective resizing (so the GLX context is too).
}
maximized = p_enabled;
}