:     if ((Chart.OldPosition != NewPosition) || (oldpxm != newpxm ) ) {
:         GrSetGCMode( gc, GR_MODE_XOR ) ;
:         GrCopyArea( win, gc, Chart.OldPosition, DIAMONDYSTART+BORDER, 
: 29, 37, \
:             *oldpxm, 0, 0, GR_FALSE ) ;
:         GrCopyArea( win, gc, NewPosition, DIAMONDYSTART+BORDER, 29, 37, \
:             *newpxm, 0, 0, GR_FALSE ) ;
:         GrSetGCMode( gc, GR_MODE_COPY ) ;
:         Chart.OldPosition = NewPosition ;
:         oldpxm = newpxm ;
:         }

Jim - 

Now that I know you're running on desktop X11 we can debug this.
Change the above GrCopyArea last parameter from
GR_FALSE to MWROP_USE_GC_MODE in both
calls.  This tells nano-X to use the current GC mode.

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to