2008/7/31 Ethan Romander <[EMAIL PROTECTED]>: > I'd like to start an application in the iconified state from within my > FVWM InitFunction. I know that I can use the "Exec foo" command to
No -- you want to associate it in your StartFunction testing for Test (Init). > My best guess looks like this: > > Style foo StartIconic > Exec foo > Wait foo > Style foo StartNormal Which is all you can do yes. Since you predicate the fact that any instances of foo running before you exec a *specific instance* of foo, you have no choice but to do: AddToFunc StartFunction + I Test (init) SomeFoo DestroyFunc SomeFoo AddToFunc SomeFoo + I Exec exec foo -iconic + I Wait foo + I Style foo StartNormal > Will the "Wait foo" catch a window that starts iconified? Even if it Yes. > does, what I don't like about this is that the "Wait foo" will slow down > my startup by forcing FVWM to wait for the foo application to map its How long's a piece of string. This is moot in lieu of your requirement, and ought not to be a concern frankly. > window. Is there a more efficient way to associate the StartIconic > style with a single Exec command? Well, you could use FvwmEvent to do so, but given predicate 1., of your original statement, it's not worth it. -- Thomas Adam