Abdelrazak Younes wrote:
I just rewrote the session management of windows geometry to use QSettings. This commit also removes the possibility to fix the window dimensions in the RC file. Instead we have now a single check box for enabling/disabling geometry session management.

Looks much cleaner and simpler.


Each window has now its own saved geometry and icon size. Maybe I'll cleanup session for toolbars too... but if anybody is interested, be my guest.

Anyway, please test the new code on your favorite Window manager.

Abdel.

Author: younes
Date: Thu Nov 15 13:58:44 2007
New Revision: 21625

URL: http://www.lyx.org/trac/changeset/21625
Log:
Use QSettings for session management of windows geometry. This commit also removes the possibility to fix the window dimensions in the RC file. Instead we have now a single check box for enabling/disabling geometry session management.

-       enum Maximized {
-               NotMaximized = 0, // LyX::newLyXView() relies on this to be 
zero!
-               VerticallyMaximized,
-               HorizontallyMaximized,
-               CompletelyMaximized
-       };


Are you sure all the maximized versions are still supported under Linux?
It was very hairy to get it right there (tracking the window size...).

--
Peter Kümmel

Reply via email to