On Fri, Jan 20, 2012 at 09:37:07PM +0100, Michael Großer wrote: > Michael Großer wrote: > > When I only set "*FvwmIdent: MinimalLayer 6" without > > the Style commands, though the FvwmIdent window > > appears on layer 6, but the vector buttons in the window > > decorations, wich I draw with ButtonStyle in my > > "0001_window_decorations" config file, do not > > get refreshed. They will get refreshed when I focus > > another window. Setting the styles I need anyway > > (StaysOnTop + NeverFocus) prevents this sort of laziness > > of the vector buttons. This is a bug I know for months, > > and I use "Stick" "Stick" to work around this. > > Since I have a workaround, I would classify this > > bug as "it would be nice if someone would fix it". > > I discovered the "Refresh" function today :-)
No, you still didn't answer my question. I still don't understand why you need Refresh here, > > Note: There are many commands that affect look and > > feel of specific, some or all windows, like Style, > > Mouse, Colorset, TitleStyle and many others. For > > performance reasons such changes are not applied > > immediately but only when fvwm is idle, i.e. no user > > interaction or module input is pending. Specifically, > > new Style options that are set in a function are not > > applied until after the function has completed. This > > can sometimes lead to unwanted effects. > > > > To force that all pending changes are applied > > immediately, use the UpdateStyles, Refresh or > > RefreshWindow commands. > > Nice Feature :-) But not needed anymore. I wouldn't confuse the two. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)