Fix X11 Editor Boot Splash

This commit is contained in:
masoud bh 2015-09-17 05:19:43 +04:30
parent 889d21e004
commit 3c466afb68

View file

@ -892,7 +892,13 @@ void OS_X11::set_window_maximized(bool p_enabled) {
XSendEvent(x11_display, DefaultRootWindow(x11_display), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev);
XWindowAttributes xwa;
XGetWindowAttributes(x11_display,DefaultRootWindow(x11_display),&xwa);
current_videomode.width = xwa.width;
current_videomode.height = xwa.height;
maximized = p_enabled;
visual_server->init();
}
bool OS_X11::is_window_maximized() const {