Re: FVWM: UseBorderStyle

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Tue, 27 Jul 2004 10:48:38 +0200

On Mon, Jul 26, 2004 at 02:11:29PM -0400, Friedman, Joseph wrote:
> Hi! I am a new user, in the process of switching from vtwm. My
> question is about fvwm v. 2.4.18. I would like to have gray window
> frames and colorful window titles, but I want the window buttons to be
> gray like the frame, not colorful like the title. Here is my .fvwm2rc:
>
> *FvwmTheme: Colorset 10 Foreground white, Background ForestGreen
> *FvwmTheme: Colorset 11 Foreground yellow, Background firebrick
> *FvwmTheme: Colorset 12 Foreground black, Background grey60
> *FvwmTheme: Colorset 13 Foreground black, Background grey70
> ModuleSynchronous Timeout 5 FvwmTheme
> Style * Button 1, Button 2, Button 4, Button 6
> Style * Colorset 10
> Style * HilightColorset 11
> Style * BorderColorset 12
> Style * HilightBorderColorset 13
> AddButtonStyle All -- Clear !UseTitleStyle UseBorderStyle
> Mouse 0 2 A Close
> Mouse 0 4 A Maximize 100 100
> Mouse 0 6 A Iconify
>
> Even though I specifically say "UseBorderStyle", the buttons still
> appear green or red depending on the focus. What am I doing wrong?

The problem is that the old ButtonStyle syntax and the new Style
syntax can not be mixed. If you need the UseBorderStyle flag, you
have to use the old syntax:

  *FvwmTheme: Colorset 10 Foreground white, Background ForestGreen
  *FvwmTheme: Colorset 11 Foreground yellow, Background firebrick
  *FvwmTheme: Colorset 12 Foreground black, Background grey60
  *FvwmTheme: Colorset 13 Foreground black, Background grey70
  ModuleSynchronous Timeout 5 FvwmTheme
  Style * Button 1, Button 2, Button 4, Button 6
  TitleStyle inactive Colorset 10
  TitleStyle active Colorset 11
  BorderStyle inactive Colorset 12
  BorderStyle active Colorset 13
  ButtonStyle All -- Clear UseBorderStyle
  Mouse 0 2 A Close
  Mouse 0 4 A Maximize 100 100
  Mouse 0 6 A Iconify

Ciao

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 Jul 27 2004 - 05:00:13 BST

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