Re: FVWM: WindowList and pointer warping

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 26 Oct 2002 10:19:57 +0000

On 26 Oct 2002 02:43:24 -0400, Maciej Kalisiak wrote:
>
> I'm using fvwm 2.5.3. When I select a window using the WindowList
> (I've specified "SelectOnRelease"), the mouse pointer is warped to the
> upper left corner of said window. How do I turn this off? I've tried
> a number of things without success. Here are some .fvwm2rc parts I
> consider relevant:
>
> ,----
> | Key Tab A 4 WindowList (CurrentDesk !Sticky)\
> | CurrentAtEnd SelectOnRelease Super_L IconifiedAtEnd Geometry
> | # with Shift, do ALL windows
> | Key Tab A S4 WindowList \
> | CurrentAtEnd SelectOnRelease Super_L IconifiedAtEnd Geometry

The function that warps the pointer is WindowListFunc. By default it is:

  AddToFunc WindowListFunc
  + I WindowId $0 Iconify off
  + I WindowId $0 FlipFocus
  + I WindowId $0 Raise
  + I WindowId $0 WarpToWindow 5p 5p

You may redefine this function and it will be used with all WindowList
invocations or you may even specify a separate functions for them, like:

  Key Tab A 4 WindowList (CurrentDesk, !Sticky) CurrentAtEnd, \
    SelectOnRelease Super_L, IconifiedAtEnd, Geometry, Function WindowListFunc2

  DestroyFunc WindowListFunc2
  AddToFunc WindowListFunc2
  + I WindowId $0 WindowShade off
  + I WindowId $0 Iconify off
  + I WindowId $0 FlipFocus NoWarp
  + I WindowId $0 ThisWindow (!CurrentPage) Raise

Regards,
Mikhael.
--
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 Sat Oct 26 2002 - 05:21:22 BST

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