Just found this comment in CMD_Wait(): /* nope, multiple tokens - try old syntax */
Actually, apart from the syntax described in the man page (first and only argument is a window name/class/... pattern), there is another syntax mode that looks like this: Wait garbage-token restofline With this syntax, the first argument is thrown away. Then leading and trailing whitespace is removed from the rest of the line, and what remains is used as the pattern to wait for. Does anybody remember where this undocumented extra syntax comes from? Is it safe to remove that? Ciao Dominik ^_^ ^_^ -- Dominik Vogt
