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
Be seeing you,
norm
--
Norman Walsh <ndw_at_nwalsh.com> | Anything more than the truth would be
http://nwalsh.com/ | too much.--Robert Frost
--
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 - 07:50:42 BST