"Anselm R. Garbe" <[EMAIL PROTECTED]> writes:

> On Thu, Feb 22, 2007 at 03:55:10AM -0500, Kris Maglione wrote:
>> On Thu, Feb 22, 2007 at 09:17:07AM +0100, Denis Grelich wrote:
>> >Situation: two windows, one with focus, one without. Press any button,
>> >but don't release, over the focused window. Move the cursor over the
>> >other window. The focus does not follow!
>> 
>> I assume that you consider this a wmii bug? The focus doesn't follow 
>> because while the pointer is down, the X server doesn't generate any 
>> Enter of Leave events, so there's no way to know that the mouse has 
>> moved from one window to another. I suppose that this is an X "feature".

> Indeed this is no bug, it is rather an X feature. Can't remember
> how windows handles this, but I won't expect much different
> behavior in different environments.

I don't believe what you say is true.  I believe that EnterNotify and
LeaveNotify events do get generated once the grab is released.  Thus, it
seems that it may just be a bug in wmii focus handling.

-- 
Jeremy Maitin-Shepard

Reply via email to