On 6/16/06, Peter Kümmel <[EMAIL PROTECTED]> wrote:
I've fixed the save/restore and -geometry problem for Qt4.
Therefore I have to remember lyx if there was the geometry option,
and I have to emulate the QWidget::normalGeometry() function.

I've tested it with Linux and Windows.

I do not really like this big patch, although this may be the only way
out. I moved most common behaviors of all frontends to lyx_main.C,
hoping to result in simpler logic in the frontends. Now, things would
be clearer if all geometry handling goes back to the frontends.

At the very least, geometryOption_ can be passed as an additional
variable, just as isMaximized, or better, handled in lyx_main.C so
frontends do not have to worry about it.

Bo

Reply via email to