OK, I've opened STR #2797 for this.
Hopefully one of our X gurus can figure this out.
On 12/19/11 11:10, Greg Ercolano wrote:
> o The issue is definitely triggered when one of the tiles,
> probably 'child window' is resized to zero on either W or H.
> (I never saw negative numbers, so that's not an issue)
> I determined this by modifying resize() in src/Fl_Double_Window.cxx
> to print the W/H values. Errors only occur when W or H is zero.
>
> o I could easily prevent the problem by adding the following
> two lines of code to src/Fl_Double_Window.cxx's resize() method, eg:
>
> void Fl_Double_Window::resize(int X,int Y,int W,int H) {
> W = (W<=0)?1:W; // <-- ADDED THIS
> H = (H<=0)?1:H; // <-- ADDED THIS
> int ow = w();
>
> ..a hack which just prevents windows from possibly being
> resized to zero or less on W or H.
>
> If the OP's goal is to stop the errors, that seems to do it.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk