[XForms] Fixing the popups?
Angus Leeming
angus.leeming at btopenworld.com
Fri Jun 4 12:00:52 EDT 2004
On Friday 04 June 2004 4:16 pm, Jean-Marc Lasgouttes wrote:
> Angus> Could you try out the attached patch (try 2). It seems to do
> Angus> the right thing (Ie, I can detect no change to either the
> demos Angus> programs or LyX)
>
> Does not fix the problem with LyX.
Agreed, but equally importantly it does not break anything either.
> But when I move the mouse over
> the lyx document, there is an horrible flicker.
You mean when selecting text? Yes, I see that too. However, it it
occurs also without the patch. (Just tried.) Something is triggering
fl_redraw_form.
> Angus> And it has the advantage of fixing the lyx scrollbar
> again...
>
> But we'll have to fix the scrollbar for other xforms versions
> anyway, won't we?
Sure, but that's easy:
XWorkArea::XWorkArea(LyXView & owner, int w, int h)
{
...
unsigned long const mask =
#if FL_VERSION == 0 || (FL_VERSION == 1 && FL_REVISION == 0)
GCFunction;
#else
GCFunction | GCGraphicsExposures;
#end
copy_gc = XCreateGC(fl_get_display(),
RootWindow(fl_get_display(), 0), mask, &val);
}
Ie, we revert to the same behaviour as in LyX 1.3.x.
Angus
More information about the Xforms
mailing list