Strange Behaviour of my Window Buttons

Hi folks!
this is my first post, i’ve been messing auround with fvwm for 3 days now and I love it!
but there is still one problem/bug that’s bothering me and I already searched these forums for solutions, but i didn’t find any:

when I first start up fvwm, my window button pixmaps do not load up and I get those ugly default buttons :slight_smile:, but after one restart everything is ok and my buttons are properly loaded…

I really don’t know what to do about this except from asking you guys…
this is the decoration part of my config:

[code]DestroyDecor MyDecor
AddToDecor MyDecor

  • TitleStyle LeftJustified Height 19

  • TitleStyle – Flat

  • BorderStyle Simple – NoInset Flat

  • ButtonStyle All – UseTitleStyle

  • ButtonStyle All - Clear

  • ButtonStyle 2
    ActiveUp (Pixmap $[fvwm_img]/deco/close.png – Flat)
    ActiveDown (Pixmap $[fvwm_img]/deco/close_down.png – Flat)
    Inactive (Pixmap $[fvwm_img]/deco/close.png – Flat)

  • ButtonStyle 1
    ActiveUp (Pixmap $[fvwm_img]/deco/min_down.png – Flat)
    ActiveDown (Pixmap $[fvwm_img]/deco/min.png – Flat)
    Inactive (Pixmap $[fvwm_img]/deco/min_down.png – Flat)

  • ButtonStyle 3
    ActiveUp (Pixmap $[fvwm_img]/deco/max.png – Flat)
    ActiveDown (Pixmap $[fvwm_img]/deco/max_down.png – Flat)
    Inactive (Pixmap $[fvwm_img]/deco/max.png – Flat)

  • ButtonStyle 2 - Clear

  • ButtonStyle 1 - Clear MwmDecorMin

  • ButtonStyle 3 - Clear MwmDecorMax[/code]

thanks,

trixx

Where in your file are you defining $[fvwm_img]? You don’t even need it (and shouldn’t use it) if you define a proper ImagePath. I would just take its location and:

ImagePath +:/the/value/of/that/variable

At the top of your ~/.fvwm2rc file.

– Thomas Adam

thank you very much!
setting up the ImagePath did the work!
now i’m loving fvwm a bit more :stuck_out_tongue: