Re: FVWM: Transparency with fvwmbuttons

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 3 Jan 2004 00:35:04 +0000

On 03 Jan 2004 00:07:43 +0000, Mikhael Goikhman wrote:
>
> On 02 Jan 2004 23:25:29 +0100, Klaus Umbach wrote:
> >
> > On Fri, Jan 02, 2004 at 21:32:29 +0000, Mikhael Goikhman wrote:
> > > On 02 Jan 2004 03:37:38 +0100, Klaus Umbach wrote:
> > > >
> > > > I want to use FvwmApplet-DigitalClock from fvwm-themes and I made it
> > > > transparent and with nice antialiased fonts. Now I want but it in
> > > > fvwmbuttons, but there it has the background of the area, where the
> > > > script was started and not where it is now. To make it clearer, you can
> > > > look at http://doppelhertz.homelinux.org/transparent-error.png in the
> > > > lower left corner. So how do I either start the script in its place, or
> > > > how can I solve the problem?
> > >
> > > This is answered in FAQ (see transparency questions). Use:
> > >
> > > Style Fvwm* ParentalRelativity
> >
> > I allready tried that, it seems not to work - same result. What could
> > I have done wrong?
>
> Impossible to say without seeing your configuration.
>
> Works for me with this config (copy and paste into FvwmConsole if you
> don't believe):
>
> Colorset 23 Transparent, fg black
> Style FvwmButtons ParentalRelativity
>
> DestroyModuleConfig FvwmButtons-Test: *
> *FvwmButtons-Test: Geometry 100x100+100+100
> *FvwmButtons-Test: Colorset 23
> *FvwmButtons-Test: (Swallow "FvwmApplet-DigitalClock" \
> `FvwmScript FvwmApplet-DigitalClock 23`)
>
> FvwmButtons FvwmButtons-Test

Ok, I think that I can reproduce your problem if I redefine Colorset 23
above to use RootTransparent instead of Transparent and restart
FvwmButtons. Then the background of the swallowed part is drawn
incorrectly, it is refreshed correctly when FvwmButtons is moved.

So the temporary solution for you is to use a colorset with "Transparent"
(like above) for swallowed modules and a colorset with "RootTransparent"
for FvwmButtons.

I suppose this initial drawing problem when swallowed modules use
RootTransparent (but not Transparent) may be fixed. Just like another
problem, refreshing FvwmButtons after WindowShade when FvwmButtons uses
Transparent colorset (but not RootTransparent).

Regards,
Mikhael.

--
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 Sat Jan 03 2004 - 13:26:12 GMT

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