nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: [Nano-X] About Region
From: Greg Haerr
Date: Tue, 3 Oct 2000 19:47:47 -0600

: When I use nano-X with nanowm, the behavior of clipping
: is strage, i.e. when a button is pushed, only upper left
: part of the button can be repaint.
: 
: When I use nano-X without nanowm, the behavior of clipping
: is normal.
: 
: When I try to find out the problem, I call GrGetRegionBox
: some times after GrNewRegion and GrUnionRectWithRegion.
: The values (x, y, width, height)  will become corrupt.
: (You can try the test program 'button', and see the outputs.
: Related codes are in fl_rect.cxx and Fl.cxx.)

I've just applied a patch to 0.89pre2 where Nano-X offset
user clip regions against a window's parent, rather than
against the window itself.  This may be the problem.

I will forward your patch on to the folks at Century Software,
who are currently working on FLNX.  (Currently still v1.0.7)

Regards,

Greg



nanogui@linuxhacker.org