OK. I've been through the FAQ...forward, backward, and sideways
in an attempt to spare the list. And what I found in the FAQ will
not work for me.
Specifically, I cannot get answer 3.18 to do what I want. Here's
the example given in 3.18:
DestroyModuleConfig FvwmEvent*
*FvwmEvent add_window SetGeometryForMyWindow
DestroyFunc SetGeometryForMyWindow
AddToFunc SetGeometryForMyWindow
+ I Next ("My Window") Move +10p +10p
+ I Next ("My Window") Resize 100p 200p
AddToFunc StartFunction I Module FvwmEvent
What I want is to warp the focus to a specific new window when it
pops up (say, the "Netscape: Find" window). I attempt to do this
(in version 2.2.5) by:
DestroyModuleConfig FvwmEvent*
*FvwmEvent add_window WarpToFind
DestroyFunc WarpToFind
AddToFunc WarpToFind
+ I Next ("My Window") Focus
+ I Next ("My Window") WarpToWindow 50 33
AddToFunc StartFunction I Module FvwmEvent
This doesn't work. WHY?
BTW, I've also tried replacing "add_window" with other events
such as "raise_window" and "deiconify". No luck. I've also
tried replacing "Next" with "WindowId $0". No luck.
If you can, please help.
-chris
--
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 Thu Apr 19 2001 - 19:42:34 BST