FVWM: parameter $d in form

From: Victor Eijkhout <eijkhout_at_cs.utk.edu>
Date: Wed, 2 Oct 2002 10:51:54 -0400

I have a form to rename a desktop:
  Module FvwmForm NameDesk

defined as

# name this desktop
DestroyModuleConfig NameDesk: *
*NameDesk: WarpPointer
*NameDesk: Line left
*NameDesk: Text "Name this desktop:"
*NameDesk: Line expand
*NameDesk: Input deskname 20 ""
*NameDesk: Button quit "OK" ^M
*NameDesk: Command Echo $d "$(deskname)"
*NameDesk: Command *FvwmPager: Label $d "$(deskname)"
*NameDesk: Command RestartPager
*NameDesk: Button quit "Cancel"

where

AddToFunc RestartPager
+ I KillModule FvwmPager
+ I DestroyModuleConfig FvwmPager
+ I Module FvwmPager 0 $[FVWM_N_DESKS]


Now the echo command displays "1 TheName" but Desk 0 gets renamed. I'm stymied.
-- 
Victor Eijkhout <eijkhout_at_cs.utk.edu>
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
--
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 Oct 02 2002 - 09:52:53 BST

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