if(window->AutoFitFrames==0&&g.IO.DisplaySize.x>0.0f&&g.IO.DisplaySize.y>0.0f)// Ignore zero-sized display explicitly to avoid losing positions if a window manager reports zero-sized window when initializing or minimizing.
if(window->AutoFitFrames<=0&&g.IO.DisplaySize.x>0.0f&&g.IO.DisplaySize.y>0.0f)// Ignore zero-sized display explicitly to avoid losing positions if a window manager reports zero-sized window when initializing or minimizing.