On 09 Jul 2002 11:16:23 +0200, Dominik Vogt wrote:
> 
> No.  Swallowing works very reliable if two conditions are met:
> 
>   (a) The application starts up fine.
>   (b) The window has the title/class/resource specified in the
>       hangon string.
>   (c) The window is not swallowed by someone else.
> 
> If it does not work, make sure each of these conditions are met.

Actually there is one more condition (a feature or a bug).

If you have the following line (without UseOld):

  *FvwmButtons: (Swallow "xload"   `Exec xload -fn fixed`)

and a window matching "xload" already exists when you start FvwmButtons,
you end up with 2 xload windows, none is swallowed. The only relable
way currently to swallow something new is:

  *FvwmButtons: (Swallow "xload"   `StartApp "xload" "xload -fn fixed"`)

  AddToFunc StartApp
  + I All ("$0") Close
  + I Exec $1

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to