Hi Thomas, > I noticed earlier that there is a discrepency in the FVWM manpage (2.5.X > series is the only one to be fixed) for the Wait command description. The > description says initially that the command waits of "windowname". This is > parly true -- the code in builtins.c apparently also checks for the window's > tile, class and resource (just like how the style command works). > > I feel this needs to be reflected in its description
... > +.BI "Wait [" windowtitle | windowclass | windowresource "]" Personally, I think it would be prudent to stick with "windowname" here. A novice user might think it appropriate to specify, say, a window resource & then be surprised to learn that some other window with a matching _title_ was matched. How about: Wait windowname This command is intended to be used in fvwm functions only. It causes execution of a function to pause until a new window matching windowname appears. A window can match windowname on either its title, class or resource. This is particularly useful in "InitFunction" if you are trying to start windows on specific desks or pages: It's still not perfect - any suggested improvements? > Note that in the function example accompanying the Wait command's > description, I have taken the liberty of replacing the function's use of the > "Desk" command with "GotoDesk" since this is now the preferred command to use. Ok. > ThisWindow (thomas_adam) Destroy ThisWindow (thomas_adam) Wait godo :) Scott. :)