On Thu, Feb 27, 2003 at 09:44:56PM +0200, Tuomo Valkonen wrote:
> On Thu, Feb 27, 2003 at 10:35:23AM +0200, Tuomo Valkonen wrote:
> > It seems I need to rethink all the focusing code *sigh*. 
> Here's another patch. It seems working to me, but I'm sure I've
> missed some case...

There's a small problem with Mozilla at least. When you type something
in the address bar and Mozilla shows a list of completions and stuff,
it grabs the pointer. When the grab is released, the frame under the
pointer receives the focus. This would be easy to fix by ignoring
UngrabNotify EnterWindow events. However, sometimes we want to handle
this kind of events (moving the pointer out of a frame while a client
program has the grab) and there's no easy way to differentiate between
these cases. While it is annoying that the frame with the pointer does
not get the focus when e.g. selecting text in a window the pointer moves
to another frame, not having focus set to the frame under the pointer
when Mozilla releases the grab might seem less of a bug. Of course the
latter problem doesn't exist when warping is enabled.

-- 
Tuomo

Reply via email to