Bo Peng wrote: > On 6/12/06, Peter Kümmel <[EMAIL PROTECTED]> wrote: >> It's hard to get the lyx window smaller when >> lyx previously was saved in maximized mode. >> >> You have first to move the window to be able to >> resize it. >> >> This could be fixed by saving 'normalGeometry' >> size and position. >> >> Any objections? > > Is normalGeometry the size when the windows is not maximized? This > patch looks fine, but would be better if we can also save/restore > windows state (maximized or not). If this can be done, we should > restore normalGeometry, and maximize the window if needed. > > Cheers, > Bo > > Yes, normalGeometry is the not-maximized size, and it is a good idea to save also the isMaximized() state.
Peter