Merge branch 'master' of https://bitbucket.org/4coder/4coder
This commit is contained in:
commit
94b8b70472
|
@ -1505,14 +1505,13 @@ LinuxX11WindowInit(int argc, char** argv, int* window_width, int* window_height)
|
||||||
linux_maximize_window(true);
|
linux_maximize_window(true);
|
||||||
}
|
}
|
||||||
else if (plat_settings.fullscreen_window){
|
else if (plat_settings.fullscreen_window){
|
||||||
system_toggle_fullscreen();
|
linux_toggle_fullscreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
XSync(linuxvars.XDisplay, False);
|
XSync(linuxvars.XDisplay, False);
|
||||||
|
|
||||||
XWindowAttributes WinAttribs;
|
XWindowAttributes WinAttribs;
|
||||||
if (XGetWindowAttributes(linuxvars.XDisplay, linuxvars.XWindow, &WinAttribs))
|
if (XGetWindowAttributes(linuxvars.XDisplay, linuxvars.XWindow, &WinAttribs)){
|
||||||
{
|
|
||||||
*window_width = WinAttribs.width;
|
*window_width = WinAttribs.width;
|
||||||
*window_height = WinAttribs.height;
|
*window_height = WinAttribs.height;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue