On Wed, 2 Feb 2011 16:52:50 +0000
Thomas Adam <[email protected]> wrote:

> On Wed, Feb 02, 2011 at 08:49:56AM -0800, Joe Riel wrote:
> > On Wed, 2 Feb 2011 15:55:08 +0000
> > Thomas Adam <[email protected]> wrote:
> > 
> > > On Wed, Feb 02, 2011 at 03:52:06PM +0000, Thomas Adam wrote:
> > > > On Wed, Feb 02, 2011 at 07:49:16AM -0800, Joe Riel wrote:
> > > > > A particular java-based application I use frequently (Maple)
> > > > > does not work well in fvwm.   I use focus-follows-mouse, but
> > > > > when I move the mouse into the application it does not 
> > > > > get the focus (the window is selected, but keystrokes do
> > > > > nothing). The java application has (from fvwm-ident):
> > > > > 
> > > > > Focus Policy:      Globally Active
> > > > >   - Input Field:   False
> > > > >   - WM_TAKE_FOCUS: Present 
> > > > > 
> > > > > To get the application to respond to the keyboard, I have to
> > > > > select a menu item.
> > > > 
> > > > See the "Leniene" style option.
> > > 
> > > s/Leniene/Lenience/
> > > 
> > > -- Thomas Adam
> > > 
> > 
> > Thanks.  I have tried Lenience (FPLenient), with little success.
> > From reading the fvwm manual page, I tried
> 
> It's not guaranteed to work.  Not FVWM's problem if it doesn't.
> We've long since told the Java guys about this.
> 
> > Style "Maple" NeverFocus, FPLenient
> 
> Just use Lenience here.

Forgot to include fvwm users in my previous reply.  Including.

Style "com-maplesoft*" Lenience

seems to fix the problem.  Thanks.

> 
> > and 
> > Style "com-maplesoft*" NeverFocus, FPLenient
> > 
> > The latter because, from fvwm-ident, the "Class" of the application
> > is "com-maplesoft-util-WmiLauncher".
> 
> OK.
> 
> > I can see no difference.  However, how can I determine whether
> > this change in the fvwm config file is is actually being seen
> > by the application?
> 
> Assuming 2.5.X, then:
> 
> Style foo Lenience, InitialMapCommand Echo "Applied Lenience to foo"

I didn't get InitialMapCommand to do anything.  Echo is supposed to
print to stderr, but I don't see the message when launching the
application from the command line.
from the command line

> 
> But that's not your problem.  The other problem might be modifier
> related, of course.  See FVWM FAQ #0.1 on fvwm.org -- but this is
> unlikely.
> 
> -- Thomas Adam



-- 
Joe Riel


Reply via email to