How much wrong is this?

I guess I misuse a couple of fvwm features and I would like to know if it’s something I can get away with or a severe crime against common sense.

First example is State + FvwmAuto = autoshade

[code]DestroyFunc ToggleAutoshaded
AddToFunc ToggleAutoshaded

  • I State 0

DestroyFunc AutoShade
AddToFunc AutoShade

  • I ThisWindow (State 0) WindowShade True

DestroyFunc AutoUnshade
AddToFunc AutoUnshade

  • I ThisWindow (State 0) WindowShade False

Module FvwmAuto 0 -menter “Silent AutoUnshade” “Silent AutoShade”[/code]

It’s inspired by one kwin user boasting this feature in his wm and I almost fully stole it from this mailing list thread: mail-archive.com/fvwm@lists. … 10167.html

Another one is

DestroyModuleConfig TestTest: * *TestTest: Rows $0 *TestTest: Columns $1 *TestTest: BoxSize smart *TestTest: ($5, Swallow(UseOld,NoKill,NoClose) "$2") *TestTest: ($6, Swallow(UseOld,NoKill,NoClose) "$3") *TestTest: ($7, Swallow(UseOld,NoKill,NoClose) "$4")

which would make a floating window with tiled windows inside (yes, I’ve read about FvwmTabs)

And your question is…?

– Thomas Adam