maximize-frame computes cols and rows