Re: FVWM: AspectPixmap not fitting menu ...

From: <dominik.vogt_at_gmx.de>
Date: Wed, 19 Mar 2003 02:10:43 +0100

On Mon, Mar 17, 2003 at 06:04:25PM +1100, Cameron Simpson wrote:
> It's long bugged me that my AspectPixmap menu backdrops don't always fit
> the menu; indeed, they rarely fit perfectly. Now, I know the image itself
> cannot always fit, but I expected tiling after the scaling. Instead I
> see patches from previous menu backdrops (I switch menu backdrop images
> every so often).
>
> So I went to the source and found in libs/Colorset.c, line 600 or so:
>
> /* Draws a colorset background into the specified rectangle in the target
> * drawable. */
> void SetClippedRectangleBackground(
>
> I'm a bit puzzled. Now I understand why it looks as it does, and I admit
> I've not yet read the code and the calling code properly, but can someone
> who understands the colorset code tell me why a menu background is simply
> drawn once onto the area instead of being set as the XWindow's background
> pixmap, which would then be tiled nicely but the X server?
>
> Such an arrangement would let one use AspectPixmap to get the image
> roughly right and then have the X server hide the edges with more
> backdrop.
>
> Failing this, shouldn't FVWM be blacking out (or something - maybe
> the background-colour value if present in the Style) the whole menu
> backdrop first?

Fixed.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Mar 18 2003 - 19:12:51 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST