Re: FVWM: WindowList

From: T. Piepho <xyzzy_at_u.washington.edu>
Date: Tue, 19 Aug 1997 10:41:49 -0700 (PDT)

On Tue, 19 Aug 1997, Christopher Wolf wrote:
> On Mon, 18 Aug 1997, T. Piepho wrote:
> #> On Mon, 18 Aug 1997, Christopher Wolf wrote:
> #> > I find that the WindowList action, when initiated from the keyboard,
> #> > and in the situation where the window is also chosen using the
> #> > keyboard, that the window chosen is not focused correctly.
> #> >
> #> Are you using pointer focus? This is probably a problem I had, where
> #> selecting a window from the win list wouldn't give it focus.
>
> I use the default MouseFocus, which is what I assume you mean by
> pointer focus.
>
> #> fvwm does in fact give the window focus. It then takes the focus away
> #> because the pointer isn't in the window. Make sense? Anyway, I made a patch
> #> that warps the pointer to the window so it will keep focus. I use it so I ca
> #> switch windows with the keyboard using WindowList (bound to compose). I don'
> #> know if this is best solution because pointer warping is generally considered
> #> evil, but it works for me.
>
> 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.

--
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:42:08 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST