Style "*" Button 1, Button 2, Button 3, Button 4
Style "*" FvwmButtons  # button relief does not follow the state

AddButtonStyle 1 Pixmap button/as-window-switch.xpm
AddButtonStyle 2 Pixmap button/as-window-close.xpm
AddButtonStyle 3 Pixmap button/as-window-options.xpm
AddButtonStyle 4 Pixmap button/as-window-iconify.xpm

ButtonStyle All - Clear
TitleStyle	Height 19

#     button	context	modifie	function
Mouse 0 	1	A	Next (!Iconic) FuncFvwmFocusAndWrapToButton1
Mouse 1 	2	A	FuncFvwmDeleteOrDestroy
Mouse 3 	2	A	WindowShade
Mouse 1 	3	A	FuncFvwmWindowOpsOrAction Delete
MouseXX 2 3	3	A       Menu MenuFvwmWindowMove
MouseXX 3 2	3	A	Menu MenuFvwmWindowGroupOps
Mouse 1 	4	A	FuncFvwmIconify
Mouse 2 	4	A	FuncFvwmIconifySameResource on
Mouse 3 	4	A	FuncFvwmMaximize
Mouse 0 	1	CM	FuncFvwmShowButtonInfo "Circulate to the next application"
Mouse 0 	2	CM	FuncFvwmShowButtonInfo "Mouse 1:^n^tDelete on click^n^tDestroy on double click^nMouse 3 - Shade"
Mouse 0 	3	CM	FuncFvwmShowButtonInfo "Mouse 1 - Window Ops menu or Delete on double click^nMouse 2/3 - Move menu^nMouse 3/2 - Resource Group menu"
Mouse 0 	4	CM	FuncFvwmShowButtonInfo "Mouse 1 - Iconify^nMouse 2 - Iconify on resource group^n 3 - Maximize:^n^tpartially on click^n^tfully on double click^n^tvertically on hold"

DestroyFunc FuncFvwmRemoveButtonsBindings
AddToFunc   FuncFvwmRemoveButtonsBindings
+ I Mouse 0 	1	A	-
+ I Mouse 1 	2	A	-
+ I Mouse 3 	2	A	-
+ I Mouse 1 	3	A	-
+ I Mouse 2 	3	A	-
+ I Mouse 3 	3	A	-
+ I Mouse 1 	4	A	-
+ I Mouse 2 	4	A	-
+ I Mouse 3 	4	A	-
+ I Mouse 0 	1	CM	-
+ I Mouse 0 	2	CM	-
+ I Mouse 0 	4	CM	-
+ I Mouse 0 	6	CM	-
+ I DestroyFunc FuncFvwmFocusAndWrapToButton1

DestroyFunc FuncFvwmFocusAndWrapToButton1
AddToFunc   FuncFvwmFocusAndWrapToButton1
+ I Focus
+ I WarpToWindow 10p 10p
