Re: FVWM: Learning more about button styles

From: <dominik.vogt_at_gmx.de>
Date: Mon, 10 Mar 2003 00:13:32 +0100

On Sun, Mar 09, 2003 at 05:27:12PM -0500, Norman Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was inspired recently to try to make my desktop a little more attractive.
> To that end, I've been fiddling with button styles.
>
> I have close bound to button 2 and maximize to button 4:
>
> ButtonStyle 2 ActiveUp (Pixmap close_activeup.xpm) \
> ActiveDown (Pixmap close_activedown.xpm) \
> Inactive (Pixmap close_inactive.xpm)
>
> ButtonStyle 4 ActiveUp (Pixmap maximize_activeup.xpm) \
> ActiveDown (Pixmap maximize_activedown.xpm) \
> Inactive (Pixmap maximize_inactive.xpm) \
> ToggledActiveUp (Pixmap restore_activeup.xpm)
>
> I expected the "restore" pixmap to be used on the maximized window and
> the normal buttons on the "normal" window.
>
> But what actually happens when I maximize a window is that I get the
> same button 4 that I get in the normal window and button 2 becomes one
> of the default square buttons, not my pixmap.
>
> This is under 2.5.6 that I built yesterday.

You nee to add

  ButtonStyle 4 - MWMDecorMax

Fvwm needs to know which window state it should watch on a
specific button. The order in which commands are issued may be
important too.

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 Sun Mar 09 2003 - 17:18:18 GMT

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