FuncFvwmDecorBackground

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 1 - Clear
ButtonStyle 2 - Clear
ButtonStyle 3 - Clear MWMDecorMenu
ButtonStyle 4 - Clear MWMDecorMin MWMDecorMax

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 3 	4	S	Maximize grow grow
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^nMouse 3 - Maximize fully on click^n^tMaximize menu on double click^n^tgrow with shift"

DestroyFunc FuncFvwmUnReloadDecor
AddToFunc   FuncFvwmUnReloadDecor

DestroyFunc FuncFvwmReloadDecor
AddToFunc   FuncFvwmReloadDecor
+ I FuncFvwmDecorBackground
+ I AddButtonStyle 1 Pixmap button/as-window-switch.xpm
+ I AddButtonStyle 2 Pixmap button/as-window-close.xpm
+ I AddButtonStyle 3 Pixmap button/as-window-options.xpm
+ I AddButtonStyle 4 Pixmap button/as-window-iconify.xpm
+ I ButtonStyle All - Clear

DestroyFunc FuncFvwmOverRideWindowLook
AddToFunc   FuncFvwmOverRideWindowLook

DestroyFunc FuncFvwmStartWindowButtons
AddToFunc   FuncFvwmStartWindowButtons

DestroyFunc FuncFvwmStopWindowButtons
AddToFunc   FuncFvwmStopWindowButtons
+ I FuncFvwmRemoveAllButtons
+ 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 3 	4	S	-
+ I Mouse 0 	1	CM	-
+ I Mouse 0 	2	CM	-
+ I Mouse 0 	3	CM	-
+ I Mouse 0 	4	CM	-
+ I DestroyFunc FuncFvwmFocusAndWrapToButton1

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