Re: FVWM: How to get Window ID from Window Name ?

From: <larry.gensch_at_digital.com>
Date: Fri, 5 Mar 1999 10:36:58 -0500 (EST)

On 5 Mar, Stephane Rosa wrote:

> AddToFunc WarpFocusRun
> + "I" Next [$0 CirculateHit] echo $w
> + "I" Next [$0 CirculateHit] WindowId $w WarpToWindow 80 80
> + "I" None [$0] $1
>
>
> The goal would have been to warp the pointer on a window
> given it's name, but of course it doesn't work because $w
> expands to the ID of the incoming window, not to the ID
> of the window that matches the condition.

How about:

AddToFunc WarpFocusRun \
  "I" Next [$0 CirculateHit] WarpToWindow 80 80

-- 
Larry Gensch					      larry.gensch_at_digital.com
       "I suggest a new strategy, R2:  Let the Wookiee win." -- C-3PO
--
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 Mar 05 1999 - 09:39:02 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST