FVWM: SOLVED: Mozilla & focus

From: Markku Tavasti <tavasti_at_iki.fi>
Date: 07 Sep 2004 08:49:30 +0300

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. 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

-- 
M. Tavasti /  tavasti_at_iki.fi  /   +358-40-5078254
--
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 - 00:49:55 BST

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