> > "myi->other_xid" is subsequently used in several places 
> without always
> > checking to see if it is NULL or not, so I worry that this 
> will throw
> > other issues.
> 
> 
> I hope not in to much places because Fl_Double_Window::resize(...)
> already put other_xid to 0 (marker for deletion)
> I quickly check and see nowhere unchecked used in the code

Sorry, I should have said "seevral places in the flush() method without
checking..." though mostly to call the draw() method, so if draw() is
internally always checking that the xid is non-null it may well be
fine...!


> > I think it would be better if we contrived to ensure that
> > the offscreen (which is used to simulate double-buffering)
> > was never created with zero size, which is why I suggested
> > we try setting MyWin to a nonzero value in my earlier post.
> 
> My code was just a sample shorter than the tile one to reproduce
> the same issue present on tile (when resizing to 0 a "tile" 
> with a double sub window)

Ah, yes. I see - so the issue is perhaps that we should prevent Fl_Tile
from resizing its subwindows to zero, we need to force a minimum
dimension, that sort of thing?



> > I assume, from the codepath, that your X-server is not reporting
> > that it can support XDBE, and that is why you are seeing this
> >  problem. I guess that these days, most testing happens
> > on servers that do claim to support XDBE so we go down
> > the alternate codepath and never hit this issue?
> 
> 
> May be.
> 
> On thing I see is the code under WIN32 don't seem to be reach at all
> because draw() is not called for a 0 size window.

OK - but be aware that the WIN32 code is not in play here, you are
running the X11 code, so that's the code path that is failing for you.


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to