# HG changeset patch # User Oleksandr Gavenko # Date 1344447880 -10800 # Node ID 82ee1eb00277fd72433cb78685c2595ff9eaf318 # Parent 3afe780302169362cf1d2c16a1c9fc63e3ef8f71 Add DestroyFunc to each AddToFunc. Improve comments. diff -r 3afe78030216 -r 82ee1eb00277 .fvwm/config --- a/.fvwm/config Wed Aug 08 19:52:03 2012 +0300 +++ b/.fvwm/config Wed Aug 08 20:44:40 2012 +0300 @@ -387,16 +387,19 @@ # The autohiding functions. # From http://fvwm.org/documentation/faq/#toc_7.17 # See question "Autohiding FvwmButtons or other windows". +DestroyFunc autohide AddToFunc autohide + I ThisWindow ($0) Deschedule $[w.id] + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off + I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2 +DestroyFunc autohide_hide AddToFunc autohide_hide + I Schedule $0 $[w.id] WindowShade $1 + I Schedule $0 $[w.id] Deschedule $[w.id] # Add the windows you want to autohide +DestroyFunc enter_handler AddToFunc enter_handler + I autohide FvwmPager 1000 N @@ -411,7 +414,8 @@ Style "goldendict" StartsOnPage 3 1 2, SkipMapping Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip -# Only once. +# Run only om sturtup. +DestroyFunc InitFunction AddToFunc InitFunction + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" @@ -421,12 +425,13 @@ # Right offset: 80 from FvwmPager + 2*6 from border = 92. + I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray -# After all restart. -# AddToFunc RestartFunction -# + I Exec exec update-menus +# Run after each restart. +DestroyFunc RestartFunction +AddToFunc RestartFunction -# First and after all restart. -# All fvwm modules exit after restart fvwm, so you must put they there. +# Run at sturtup and after each restart. +# All fvwm modules exit after restart Fvwm, so you must put they there. +DestroyFunc StartFunction AddToFunc StartFunction # + I Module FvwmDebug --xconsole # + I KillModule FvwmDebug