Re: FVWM: key-triggered focus of app within FvwmButtons

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Thu, 16 Jan 2003 15:39:16 +0100

On Thu, Jan 16, 2003 at 09:14:22AM -0500, Maciej Kalisiak wrote:
> On Thu, Jan 16, 2003 at 08:19:11AM +0100, Dominik Vogt wrote:
> > On Wed, Jan 15, 2003 at 10:22:31PM -0500, Maciej Kalisiak wrote:
> > > I have an rxvt swallowed inside FvwmButtons, and have this binding:
> > >
> > > Key 8 A 4 Next (tiny_term) Focus
> > >
> > > This works when the rxvt is outside FvwmButtons, but does not focus it when
> > > swallowed. What is wrong, and how do I go around it?
> >
> > The "Next" command works only on top level windows, not the ones
> > swallowed by some other application.
>
> Ahhh.
>
> > You can give FvwmButtons the focus, and then warp the pointer over the rxvt
> > window:
> >
> > WIth ClickToFocus:
> >
> > Key 8 A 4 Next (FvwmButtons) Function foo
> >
> > AddToFunc foo
> > + I Focus
> > + I WarpToWindow <position_of_rxvt>
> >
> > Or with MouseFocus/SloppyFocus:
> >
> > Key 8 A 4 Next (FvwmButtons) WarpToWindow <position_of_rxvt>
>
> Now, this assumes that the embedded rxvt has SloppyFocus, no? Otherwise, just
> because the mouse cursor is over it, how does this cause the rxvt to receive
> focus in a ClickToFocus setup?

For the same reason as above, a swallowed application does not
have a focus policy either. I honestly don't know why it works,
but the xterm in my FvwmButtons accepts keyboard input with the
pointer over it, but not when it's somewhere else in FvwmButtons.
Maybe FvwmButtons forwards all keystrokes to the app with the
pointer over it - I don't know. I have to look it up in the
sources.

> BTW, that's an elegant way to force, or at least strongly suggest that any
> replies go to the list. (In his email to me, Dominik set the From: field to
> "Dominik Vogt <fvwm_at_fvwm.org>") Short and sweet.

I do this in all fvwm related mails I write at work. I can't use
any replies to my work address.

Bye

Dominik ^_^ ^_^
--
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 Jan 16 2003 - 08:39:02 GMT

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