On Fri, May 11, 2001 at 08:50:28AM -0400, Norman Walsh wrote:
> Hmm. I'm confused. I want button 4 of my titlebar to display
> 'maximize.xpm' on a normal window and 'restore.xpm' on a maximized
> window. What I get is 'maximize.xpm' on all windows. I must be doing
> something stupid, but I don't see what.
>
> Here are the relevant lines from my .fvwm2rc file:
>
> ButtonStyle 1 Pixmap /home/ndw/Graphics/pixmaps/menu.xpm
> ButtonStyle 2 Pixmap /home/ndw/Graphics/pixmaps/close.xpm
>
> # Why doesn't this work?
> ButtonStyle 4 Pixmap /home/ndw/Graphics/pixmaps/maximize.xpm
> ButtonStyle 4 ToggledActiveUp Pixmap /home/ndw/Graphics/pixmaps/restore.xpm
> ButtonStyle 4 ToggledActiveDown Pixmap /home/ndw/Graphics/pixmaps/restore.xpm
> ButtonStyle 4 ToggledInactive Pixmap /home/ndw/Graphics/pixmaps/maximize.xpm
> ButtonStyle 4 - MwmDecorMax
>
> ButtonStyle 6 Pixmap /home/ndw/Graphics/pixmaps/iconify.xpm
>
> AddButtonStyle All -- Flat
>
> Mouse 0 1 A Menu Window-Ops2 Close
> Mouse 0 2 A Close
> Mouse 0 4 A Maximize-Func
> Mouse 0 6 A Iconify
This works perfectly for me. What version of fvwm do you have?
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 Fri May 11 2001 - 08:50:50 BST