FVWM: Using FvwmEvent to move to current desk: not working

From: Von Welch <welch_at_mcs.anl.gov>
Date: Tue, 23 Jan 2001 10:44:20 -0600 (CST)

Hello all-

First of all I am using:

FVWM version 2.3.27 compiled on Jan 7 2001 at 17:22:21
with support for: ReadLine, RPlay, Stroke, XPM, GNOME WM hints, SM

I'm seeing the following problem- I create new xemacs frames using
gnuclient. The problem is that no matter what desk I'm on, the new
frames always appear on the initial desk (0 in this case) that xemacs
was created on.

No problem, I thought, I'll just use FvwmEvent to move them to the
current desktop. So I added the following to my .fvwm2rc:

--cut--
Style "emacs*" SkipMapping

AddToFunc AddWindowFunc
# Move emacs windows to current desk as they tend to appear on the
# original desk
+ "I" WindowId $0 ("emacs") MoveToDesk 0 $d

*FvwmEventPassId
*FvwmEvent add_window AddWindowFunc
--end cut--

Except this doesn't work. $d apparently resolves to Desk 0, where the
xemacs frame is created and not the desk I'm currently on. I checked
that FvwmEvent is working by replacing '$d' with '1' and sure enough
xemacs frames were then moved to desk 1 after creation so this seems
to be a $d problem.

Am I misusing or misunderstanding $d? Or any suggestions for other
solutions to my problem?

Thanks,

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 Tue Jan 23 2001 - 10:44:23 GMT

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