On 21 Sep 2002 09:06:18 +0200, Rastislav Galia wrote: > > Mikhael Goikhman wrote: > > > > WindowId is available in 2.2.x, but in 2.4.x you may pass conditions. > > And in 2.5.x you may pass Focused among others: > > > > WindowId 0x2e0000d (Focused, !Maximized) ... > > > > So, I move this to "existing enh.". > > Before I do so, I want to clarify that there is a difference between > > WindowId 0x2e0000d (...) ... > > and > > Next/*or whatevet*/ ("0x2e0000d") ... > > I know first option is available, but second option is > not in 2.4.x documentation, so I didn't try it.
The second syntax does not match the window id, the first does. Think about this (supposing FvwmEvent calls a function with a window id param): Next ("XTerm", !Iconic) Iconify WindowId $0 ("XTerm", !Iconic) Iconify The first operates on a random xterm, the second - on the one that triggers the event. > What did you by mean 'you can pass condition'. Is it this second way ? > Then I change my proposal to 'include in documentation' ... :-))) The condition is what is in parentheses. In 2.2.x, WindowId did not accept parentheses. I don't see anything that is not documented. What is the task you want to achieve using conditional commands? Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]