Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: X11R3: PointerMotionMask misbehaving Message-ID: <8903280043.AA05743@EXPIRE.LCS.MIT.EDU> Date: 28 Mar 89 00:43:14 GMT References: <8903272336.AA08703@Larry.McRCIM.McGill.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 20 One problem is that I seem to need to explicitly XUngrabPointer when I see a ButtonPress event, or else the grab seems to persist after the button is released (contrary to the documentation I have, which says that a passive grab will deactivate as soon as all buttons are released). Do you mean after the button is physically released (in which case you are confused), or after it is logically released (in which case there might be a server bug)? The grab should deactivate after you AllowEvents enough to let the ButtonRelease event be processed by the server (it won't be processed immediately because you asked for ModeSync). If you really think there is a server bug, then supplying complete working sample code and how to use it is probably going to be necessary to track it down. The problem is, I never see a MotionNotify event. As if that weren't enough, I never see more than one ButtonPress event! Again, complete working code and instructions are probably going to be required.