Re: FVWM: Autofocus new windows

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 7 Nov 2001 15:43:40 +0000

On 07 Nov 2001 10:23:00 +0200, Max Ischenko wrote:
>
> I'm trying to make fvwm to focus newly opened windows.
> The following doesn't work:
> *FvwmEvent: PassID
> *FvwmEvent: add_window windowid $0 Focus
>
> FvwmEvent is running. Any other ideas/fixes?

$0 is only expanded in the function lines. So this would works (from FAQ):

  *FvwmEvent: Cmd
  *FvwmEvent: PassId
  *FvwmEvent: add_window SwitchToWindow

  AddToFunc SwitchToWindow
  + I WindowId $0 Focus
  #+ I WindowId $0 WarpToWindow # Lower / Maximize off

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 Wed Nov 07 2001 - 09:43:52 GMT

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