On Tue, Apr 19, 2005 at 08:07:33PM +0200, Julien Guertault wrote:
> Hello,
> 
> I think I have found a reproducible bug. My config is supposed to give
> the focus to a window just moving the mouse over it or on its picture
> in the Pager (MouseFocus, SloppyFocus, and *FvwmPager: SloppyFocus). I was
> wondering why I sometimes lose the focus though the pointer is
> over a window...
> 
> I succeeded in reproducing it this way : open various windows on the
> different pages. Have a window openned on the current page too: let
> say an term for instance. Put the mouse cursor on the pager, then take
> it quickly to the term, making sure to move over some other windows in
> the pager.
> 
> This may not work at the first time, but after a few tries, you should
> have the focus on some window but not the term. Then you can move as
> much as you want over the term, it will not get the focus back until
> you click on it, or give the focus to another window and then get back
> to the term.

When the pointer moves over the other window in the pager, the
pager sends a message to fvwm to focus the window.  In the mean
time the pointer travels to the destination window, and the X
server informs fvwm about that with an EnterNotify event.

The problem is that the pager message and the event may arrive in
a random order.  Whichever comes last wins.  So, if you drag the
pointer really fast, the event arrives first and the message sent
by the pager wins :-(

There is no fix for this problem; it is even described in the man
page.  That's why I finally gave up using that feature.

> I use fvwm 2.5.12, on Ubuntu. I haven't tried on other systems.
> 
> I hope this will help. Sorry if I am not clear enough...

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to