This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emblem drawing glitches on linux


On Sat, Jul 05, 2003 at 10:25:51AM +0200, Hans Ronne wrote:
> I'm not 100% sure whay the problem is yet, but perhaps you could try this
> patch in draw_current:
> 
> 	if (vp->show_all) {
> 	    x_xform_unit_self(mapw, unit, &sx, &sy, &sw, &sh);
> 	} else if (uview) {
> 	    rslt = x_xform_unit_self_view(mapw, uview, &sx, &sy, &sw, &sh);
> 	    /* This may be called while there is no view object for
> 	       the current unit, such as while updating the display
> 	       when the unit moves and is "between" cells. */
> 	    if (!rslt)
> 	      return;
> +	} else {
> +	    return;
> 	}

The glitch emblems do not appear when I make the above changes.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]