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