On Tue, 19 Aug 1997, T. Piepho wrote:
#> > Well the default WindowList action is to warp to the window after
#> > Focusing and Raising the window, but it does not seem to be happening
#> > correctly. I do see the same thing you see -- that it does get the
#>
#> Are you sure? The code is do_windowList in windows.c. It seems that the
#> stock action is to to call RAISE_IT on the window, which doesn't warp the
#> pointer. This is in fvwm 2.0.43, I haven't upgraded for a while. I think
#> I added code so it would warp to the window if you were using pointer focus,
#> but I can't quite remember what I did exactly. When I get home from work
#> today I'll check my code.
It must have changed. While the code is in do_windowlist, once it
returns it executes WindowListFunc (windowlistfunc) on the window.
>From the 2.0.45 manpage:
WindowList [options]
Generates a pop-up menu (and pops it up) in which the
title and geometry of each of the windows currently on
the desk top are shown. The geometry of iconified win-
dows is shown in parenthesis. Selecting an item from
the window list pop-up menu will by default cause the
interpreted function WindowListFunc to be run with the
window id of that window passed in as $0. By default
the WindowListFunc looks like this:
AddToFunc WindowListFunc "I" WindowId $0 Iconify -1
+ "I" WindowId $0 Focus
+ "I" WindowId $0 Raise
+ "I" WindowId $0 WarpToWindow 5p 5p
You can Destroy the builtin WindowListFunc and create
your own if these defaults do not suit you.
...
In tracing the action, I did see these occur in this order (up to the
warp, when the network went to dinner).
-W
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Aug 19 1997 - 12:52:17 BST