Many thanks to those who pointed out that I could quote the event string
or use a function. Both methods seem to work.
The one other thing I had to figure out that Current doesn't
recognize the added window as the current window (even with
ClickToFocus in the Style).
For now I've replaced "Current (emacs*)" with "Next (emacs*)" and
it seems to work (though I won't be surprised if at some point it
grabs the wrong xemacs frame).
Anyways here is the solution I'm using in case anyone is interested
now or in the future:
# Start FvwmEvent at some point...
# This is needed so we don't change desktop when the frame appears
Style "emacs*" SkipMapping
# If I use Current here instead of Next nothing happens
# If I remove the "Next (emacs*)" then all new windows
# get moved to the current desk
AddToFunc AddWindowFunc "I" Next (emacs*) MoveToDesk 0
*FvwmEvent add_window AddWindowFunc
Thanks to all!
Von
--
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 Fri Feb 11 2000 - 13:28:18 GMT