[openbox] focus followMouse issues with vmware

Mikael Magnusson mangosoft at comhem.se
Fri Apr 4 15:01:41 EDT 2008


On Fri, 4 Apr 2008, Mike Hokenson wrote:

> Hi list,
>
> I'm not sure if anyone here is a vmware user, but I just noticed that if
> you're using followMouse and attempt to focus a window that's sitting on
> top of the vmware guest OS window, it won't get the focus.
>
> Forgive the crude ascii art -
>
> +-----+ 
> |  win |--+
>  +-----+  |
>   |   vm  |
>    +------+
>
> My testcase is running Windows XP with the vmware tools that give you
> the ability to focus in and out by moving the window to the edge, maybe
> that's got something to do with it..
>
> I just checked this in sawfish and there were no problems. Maybe there's
> a few X events running in close succession and one is being missed?

It's probably due to the way vmware forcibly grabs mouse and keyboard 
input. IIRC it can grab it while another window is still appearing as 
focused...

> Not sure if it's related, but I've been seeing focus issues off and on
> for the last few months, maybe longer, where a quick motion between a
> few windows (sometimes following a keyboard action, like taking mplayer
> out of fullscreen) has resulted in an unfocused window where the
> pointer is.

This is by design, the <underMouse> option turns this feature off.

--
Mikael Magnusson



More information about the openbox mailing list