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 :-) My "Stick Stick" workaround seems to be obsolet from now on. http://www.fvwm.org/doc/unstable/fvwm/fvwm.man.html#delayed_execution_of_commands > 27.2. Delayed Execution of Commands > > 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 :-)