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