Re: FVWM: mouse pointer placing upon windowlist switch

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Thu, 29 Nov 2001 05:54:17 +0100

On Wed, Nov 28, 2001 at 10:08:17AM -0800, Perry Hutchison wrote:
> > DestroyFunc WindowListFunc
> > AddToFunc WindowListFunc I WindowId $0 Iconify off
> > + I WindowId $0 FlipFocus
> > + I WindowId $0 Raise
> > + I WindowId $0 WarpToWindow 50 50
>
> Or, simpler and more robust, just add this to .fvwm2rc somewhere
>
> AddToFunc WindowListFunc I WindowId $0 WarpToWindow 50 50
>
> This appends the "move to center" to the previous action without
> having to destroy and re-create the whole thing. This way, it
> will still work if the default action changes in a future release.

Of course this warps the cursor first to the top left corner of
the window and then to its center.

Bye

Dominik ^_^ ^_^

-- 
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Nov 28 2001 - 22:54:53 GMT

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