Hi --

On Sun, Apr 25, 2010 at 09:23:46PM -0400, des...@verizon.net wrote:
> 
> Hi,
> 
> I get the subject line error message from fvwm.
> 
> The error occurs putting a pixmap in a colorset like this:
> 
> Colorset 2 TiledPixmap weird10.xpm
> 
> As long as the xpm file has no mask, you get the error.
> The logic is in fvwm/colorset.c:

Can you send me the .xpm in question?  I can't seem to trigger this
condition.

>   if (image != None && mask_image != None)
>   {
> ...
>   }
>   else
>   {
>    fvwm_msg(
>      ERR, "parse_colorset",
>      "error reading root background");
> 
> In this case there is an image but no mask.
> XPM images only have a mask if one of the colors in
> the image is "None".

Yes -- OK.  The error message is misleading in this case.  I suspect we also
need to be checking for cs->mask as well -- since there's no guarantee that
if that's None, that mask_image won't be either.  But I'd need this XPM file
to work it out -- especially since this function is used with other image
types as well.

Sorry for the brevity; must dash...

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.

Reply via email to