On Tuesday 04 September 2001 10:50, R. Lahaye wrote:
> Dekel Tsur wrote:
> >
> > On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> > > There was a time (e.g. 1.1.6fix3) that the following very convenient
> > > window policy was enforced on all dialogs:
> > >
> > > -> let the (sub)dialogs "disappear" when the main window is iconized.
> > > [extremely convenient when iconizing LyX while dialogs are open]
> > >
> > > -> always keep (sub)dialogs on top of the main window.
> > > [dialogs can never be hidden behind the main window]
> > >
> > > I would vote for getting this window policy back.
> >
> > Some people (like me) do not like this behavior.
>
> Since it was once there, but now removed; could it be toggled in
> with a configure flag, so that the old behaviour is still available?
>
> I (and probably more people) would appreciate such an option!
>
> Rob.
Well, Rob, the code in question is to be found in frontends/xforms. You're
looking for the show method in both FormBase.C and FormBaseDeprecated.C where
you'll find:
fl_show_form(form(),
FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
title_.c_str());
To obtain the windowing policy that you want, change that to
fl_show_form(form(),
FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
title_.c_str());
If you want to get this into the repository, however, then you'd better
befine a lyxrc variable, perhaps
bool iconify_daughters_on_iconify
We'd also need a check button in the Preferences->Look & Feel->Interface tab.
Angus