FVWM: weird WarpToWindow behavior

From: Norvell Spearman <norvell_at_houseofspearman.org>
Date: Thu, 26 Dec 2002 13:34:15 -0600

fvwm-2.5.5
xmms-1.2.5

I recently changed my .fvwm2rc so that any new window will get the focus
and get the pointer warped to it. Everything works fine except for
xmms. Usually I run xmms with both the equalizer and play list windows
(which are both ``snapped to'' the main xmms window), so starting xmms
actually creates three windows. These three all move together when the
main window is moved.

What's happening is this: I have one 2x2 desktop and usually run xmms
from the top right page. After making the focus and warp changes,
starting xmms causes the pointer to go immediately to the top left
corner of the current page, which then causes the viewport to scroll to
the page immediately to the left. Depending on what's on the left-hand
page, the main xmms window may or may not be connected to its other
windows.

The following is what I added to my .fvwm2rc (which is from the fvwm
FAQ, question 3.18):
########
*FvwmEvent-NewWindow: Cmd
*FvwmEvent-NewWindow: PassId
*FvwmEvent-NewWindow: StartDelay 4
*FvwmEvent-NewWindow: add_window FuncFocusWindow

DestroyFunc FuncFocusWindow
AddToFunc FuncFocusWindow
+ I WindowId $0 Focus
+ I WindowId $0 WarpToWindow 50 15p

AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow
########

What I'd like is for xmms to open on the current page but without
disabling edge scrolling. Thanks very much for any help with this.

-- 
Norvell Spearman
--
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 Thu Dec 26 2002 - 13:35:32 GMT

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