Re: FVWM: "Transparent" rxvt and FvwmBacker

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 23 Jun 1999 00:49:10 +0200

On Tue, Jun 22, 1999 at 05:54:30PM -0400, Allin Cottrell wrote:
> First, thanks to all at fvwm for a great WM.
>
> I've used 1.2X for several years with pleasure. Recently I
> installed 2.2.2, and I like many of the new features. One
> little problem I've run into. I'm using FvwmBacker for a
> little visual variety, putting a background xpm onto one of my
> desks (the rest have solid color backgrounds). And into the
> bargain I've compiled rxvt for "transparency" to let the pixmap
> shine through. So I have an rxvt window sitting on the xpm'd
> desk, and other stuff going on elsewhere. Now when I shift to
> the xpm'd desk the xpm turns on OK, but the rxvt background
> remains with the solid color of the desktop I just left. I
> suppose this is because of the slight delay in the xpm
> appearing: the rxvt background has already been set.
>
> I can get the rxvt bg to show the pixmap by doing a manual
> "Refresh", or a "clear", but obviously it would be nicer to have
> it happen automatically. So I'm wondering what I could put into
> the "*FvwmBackerDesk N" command to make this happen. (I've
> tried appending "Refresh" after "xpmroot" but that doesn't work,
> I suppose because fvwm doesn't wait for the xpmroot to finish
> before doing the refresh.)

Note that this is a problem of rxvt, not fvwm. You could use
FvwmCommand. Assuming you put this stuff in your InitFunc:

  AddToFunc InitFunction
  + Module FvwmCommandS
  + Exec "xpmroot <your image> ; FvwmCommand Refresh"

This ensures you get the refres after xpmroot has run.

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 Jun 22 1999 - 19:17:11 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST