On Mon, May 06, 2002 at 01:24:50PM +0200, Andre Bonhote wrote:
> Hi Folks!
>
> I wanted to use different buttons for different window states
> (maximized/shaded/sticky) using ToggledActiveUp and so on. I first tried
> my own config using pixmaps, but it didn't work. It looked like this:
>
> AddToDecor MyDecor
> + ButtonStyle 3 Pixmap button_brushed_active.xpm
> + ButtonStyle 3 ToggledActiveUp Pixmap button_brushed_pressed.xpm
> + ButtonStyle 3 ToggledActiveDown Pixmap button_brushed_pressed.xpm
> + ButtonStyle 3 ToggledInActive Pixmap button_brushed_pressed.xpm
> + ButtonStyle 3 - MwmDecorStick
>
> Mouse 1 3 A Stick
>
> But it didn't work. Then, I tried the example from the manpage, but it
> was the same: Just no reaction (except the titlebar changing).
>
> Any hints on this? Google found nothing related to this topic.
>
I can't see anything wrong with that. Have you used:
Style * UseDecor MyDecor
If you want all windows to have the same decorations you could
use for example:
...
ButtonStyle 3 ActiveUp (Pixmap stick-activeup.xpm -- Flat)\
Activedown (Pixmap stick-activedown.xpm -- Flat)\
Inactive (Pixmap stick-inactive.xpm -- Flat)\
ToggledActiveUp (Pixmap stick-activedown.xpm -- Flat)\
ToggledActiveDown (Pixmap stick-activedown.xpm -- Flat)\
ToggledInactive (Pixmap stick-inactive.xpm -- Flat)
ButtonStyle 3 - MwmDecorStick
...
Works wonderfully in my .fvwm2rc.
Uwe
--
+----------------------------------------------
| Uwe Pross
| mail : mailto:uwe.pross_at_gmx.net
| www : http://www.tu-chemnitz.de/~uwp
+----------------------------------------------
Have a nice day ;-).
-----------------------------------------------
--
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 Mon May 06 2002 - 10:20:15 BST