Re: FVWM: Help with conditional commands

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 21 May 2003 21:39:38 +0000

On 21 May 2003 16:25:12 -0400, Tessa Lau wrote:
>
> I'm trying to create a function that warps the pointer to the
> currently running browser (which could be Phoenix, Galeon, or
> Mozilla), and if none of those browsers is running, starts up the
> browser of my choice. Here's what I have:
>
> DestroyFunc Warp-or-Run-Browser
> AddToFunc Warp-or-Run-Browser
> + "I" Next ("*Phoenix") Warp-and-Raise
> + "I" Cond (Match) Break
> + "I" Next ("Galeon") Warp-and-Raise
> + "I" Cond (Match) Break
> + "I" Next ("Mozilla") Warp-and-Raise
> + "I" Cond (Match) Break
> + "I" Exec /home/tlau/bin/browser
>
> If I invoke the function when no browsers are running, it correctly
> starts up a new browser.
>
> If I invoke this function when Mozilla is running, however, the pointer
> warps to the running Mozilla, and also starts up a second instance of
> my browser.
>
> What am I doing wrong?

Run a more current fvwm version where Break is not broken (quirk).

I think I already asked today on the list to always specify your version.

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 May 21 2003 - 16:43:15 BST

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