We have 2 GUI's that run on a screen, one with a tiny window that sits on top 
of another which takes up all the screen real estate.

We want keyboard events to always go to the GUI (on bottom) that takes up the 
screen.  Mouse events should behave normally (if they are inside the small 
window they go to that app, otherwise they go the app that sits on bottom).

Is this possible with FVWM or not?

If I set the tiny GUI app (on top) to "NeverFocus" and the other one to 
"SloppyFocus" would that work (you say it "might")?

Also I'm confused about how to identify the applications to FVWM (most examples 
use the "name" of the application, but where is this name coming from, how is 
it set: Do I have to launch the application from inside FVWM to assign its 
name, or is the "name" what I see in a "ps -ef" for that application?)
-----Original Message-----
From: Thomas Adam [mailto:[email protected]] On Behalf Of Thomas Adam
Sent: Wednesday, April 28, 2010 1:54 PM
To: Shriver, Daniel
Cc: [email protected]
Subject: Re: FVWM: Locking or redirecting keyboard focus

On Wed, Apr 28, 2010 at 12:58:30PM -0400, Shriver, Daniel wrote:
> Is it possible for me to lock keyboard focus to a given app running under 
> fvwm?

Not as such, that's up to the application to grab the keyboard.

> For instance, let's say I have two graphical applications on the screen-
> one of these applications I want to never have keyboard focus, and the
> other one I want to always have keyboard focus (pointer focus I want to
> behave "normally").

NeverFocus might help you here, but perhaps only with SloppyFocus for
everything else.

> Alternately, can I reroute keyboard events to a given application?

Yes, but the list would be long.

What is it you're really trying to?

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.

Reply via email to