On 06 Mar 2002 16:18:06 +0000, Tim Phipps wrote: > > # this creates a function for each window to remember where to warp the > pointer > AddToFunc my_record_warp > + I DestroyFunc my_warp_$w > + I This AddToFunc my_warp_$w I WarpToWindow $[pointer.wx]p $[pointer.wy]p > + I AddToFunc my_warp_$w I Break # prevents falling through to default warping > > The "This" in my_record_warp was necessary to get the $[pointer.wx] to > expand when my_record_warp is executed rather than getting passed to > my_warp_$w and being expanded when my_warp_$w is executed. > > Is this a feature of variable expansion?
Both "+" and "AddToFunc" do not expand $[extended.var], while all other commands do. $w _is_ expanded. And for module configs it is vice versa. At least this is all intentional. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]