FVWM: Re: SOLVED: Mozilla & focus

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 7 Sep 2004 11:13:40 +0200

On Tue, Sep 07, 2004 at 08:49:30AM +0300, Markku Tavasti wrote:
> Dominik Vogt <dominik.vogt_at_gmx.de> 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, dominik.vogt_at_gmx.de


--
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 Tue Sep 07 2004 - 05:18:53 BST

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