Path: utzoo!attcan!uunet!lll-winken!ames!oliveb!apple!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Pointer grab and LeaveNotify events Message-ID: <8905112217.AA00444@expire.lcs.mit.edu> Date: 11 May 89 22:17:24 GMT References: <7507@spool.cs.wisc.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 12 It appears that when the Pointer is grabbed, the server forgets to send clients LeaveNotify events when the pointer leaves the client's window. It doesn't forget, the protocol doesn't allow it. Actually, a LeaveNotify event does get sent when the pointer gets grabbed, but the Intrinsics discard them (don't ask me why, I don't know, I think it's a misfeature). This Leave would be sufficient to "solve" the problem (I think you'll notice that xterm "works", for some definition of "works"). All of this is complicated by the fact that the protocol doesn't have Focus events sent on pointer-based focus change; if it did, things would be easier.