[XForms] Re: [PATCH] Re: once more about popups
laurent FOURNIER
laurent.fournier at lapp.in2p3.fr
Wed Apr 21 03:33:47 EDT 2004
Dear Jean-Marc,
>laurent> I made a new run this morning on LynxOS and got the following
>laurent> while calling fl_setup_default_fontsize() in the above
>laurent> sequence : [...]
>
>laurent> Then the program enters a deadlock while stacking calls to
>laurent> XSync() (but this is likely a problem with X11 itself on
>laurent> LynxOS) while calling close_pupwin() (xpopup.c line 430). The
>laurent> error occurs because the field pup->win is not initialized to
>laurent> zero ... and does not occur in my own patched version. One
>laurent> more argument towards memset() ! :-) But I do not understand
>laurent> why this did not appear before...
>
>Dear Laurent,
>
>Sorry for taking so long to answer (again!). Could you try the
>attached patch?
>
I thought I was boring you with my problems... I thank you very much for
your help, I try this as soon as possible (probably today) and I let you
know.
>I suspect that the fact that parent is now reset means that old
>entries can be re-used, and this is why a bad win eventually bites us.
>
>Concerning the use of memset, what I want is just to minimize the
>number of places where we do such things. However, it would probably
>be wise to have a clear_pup(p) that clears a popup entry (maybe with
>memset ;). That would be called by init_popup(), for example.
>
I totally agree this point of view.
>JMarc
>
>
Thank you again.
Laurent.
More information about the Xforms
mailing list