MiniIcons are only shown when Iconified

For some reason the MiniIcon in the taskbar is only shown when I iconify a given window. The icon doesn’t show up until I iconify the window, and it dissappears again as soon as I iconify it off again. I guess that the question is “where [1] should I be looking at?”

Thanks.

[1] pastebin.es/16355

$ fvwm --version fvwm 2.5.27 (from cvs) compiled on Feb 11 2009 at 08:43:01 with support for: ReadLine, XPM, PNG, Shape, XShm, Xinerama, XRender, XCursor, XFT, NLS

Sigh. You’re confused.

*FvwmIconMan: DrawIcons True

No. no, no. You want:

*FvwmIconMan: DrawIcons Always

Whislt I am at it, there’s some other things your config could do with amending.

+ I ThisWindow WindowStyle BorderWidth 2, HandleWidth 2

Get rid of “ThisWindow” – the function’s already in the correct window context at the time it’s called.

DestroyFunc FvwmMoveToLayer
AddToFunc FvwmMoveToLayer
+ I Layer 0 $0
+ I ColorizeLayers
+ I UpdateStyles
+ I Raise

UpdateStyles? Here? When no styles are changed. That line belongs in ColorizeLayers – having it here is going to cause a window recapture at the wrong time which is going to cause a lot of flicker. (The use of UpdateStyles is arguarbly redundant nowadays anywhere, given {Window}Style lines are always applied.

Style * BackColor #efebe7, ForeColor #afaca7
+ I All (Layer 6) WindowStyle HilightBack #059605, BackColor darkgreen

Can you please not use BackColor? It’s going the way of the dodo soon.

You’ve a number of DestroyModuleConfig lines:

DestroyModuleConfig FvwmIconMan

Generally speaking, you should always have it in the form:

DestroyModuleConfig alias:*

– Thomas Adam

Thank you, Thomas. That was the problem indeed. Problem solved.

I’ve also cleaned the config a bit using the rest of your suggestions.