Re: FVWM: No luck with Focus ...

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 09 May 2001 08:51:30 -0400

Markus Grunwald <MaGrunwald_at_webasto.de> writes:
> Hi !
>
> Can someone explain to me, why that doesn't work ?
>
> AddToFunc XCalcFunction
> + "I" Exec xcalc -geometry +300+200
> + "I" Next [ Calculator ] focus
>
> The calculator shows up, but it has no focus...
> Ah, yes: FVWM version 2.3.30

You need to wait for the window to be created:

DestroyFunc XCalcFunction
AddToFunc XCalcFunction
+ "I" Exec xcalc -geometry +300+200
+ "I" Wait Calculator
+ "I" Next [ Calculator ] focus

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 09 2001 - 07:57:43 BST

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