On Tue, Sep 07, 2004 at 08:49:30AM +0300, Markku Tavasti wrote:
> Dominik Vogt <[EMAIL PROTECTED]> writes:
> 
> > I don't understand what the problem is.  What you wite suggests
> > that you want
> > 
> >   Style Mozilla* SloppyFocus
> > 
> > Why do you think this is no "sane way" of focus handling?
> 
> Problem was only with mozilla. Apparently mozilla is doing something
> to focus based on mouse events. I had this function binded to alt-tab
> and others:
> 
> AddToFunc   oma-focus-and-raise
> + "I" Focus
> + "I" WarpToWindow 50 50 
> + "I" Raise
> 
> With that function and sloppy focus mozilla was quite funky. I had
> two mozilla windows side by side. Swithcing between them with keyboard
> resulted situation where keyboard events went just to another window
> where fvwm commanded it.

Aha!  It's the annoying keystrokes-in-mozilla-go-to-wrong-window
problem.  I've been chasing this problem for month but was never
able to reproduce it at will.  Maybe I can with the new
information.

Do you know of a way to make it happen all the time?

> Specially annoying it was with overlapping
> windows. Window which was covered by other window was getting events!
> 
> But just changing this function a bit will make everything work as
> wanted:
 
> AddToFunc   oma-focus-and-raise
> + "I" WarpToWindow 50 50 
> + "I" Focus
> + "I" Raise
    ^^^

(Note that it's not necessary to put the I in double quotes.)

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: pgpvoi94RVQKx.pgp
Description: PGP signature

Reply via email to