Re: FVWM: Key binding to raise specific window?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 9 Jul 2002 10:39:24 +0000

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jul 09 2002 - 05:40:10 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST