Re: FVWM: How to get xemacs frames to map to current desk?

From: Von Welch <vwelch_at_ncsa.uiuc.edu>
Date: Fri, 11 Feb 2000 13:28:02 -0600

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

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