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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to