Path: utzoo!attcan!uunet!lll-winken!xanth!ukma!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: <8904061826.AA01287@EXPIRE.LCS.MIT.EDU> Date: 6 Apr 89 18:26:54 GMT References: <8903280231.AA10065@Larry.McRCIM.McGill.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 [using grabs] The problem is, I never see a MotionNotify event. I took a look at the code you sent me, and discovered that you're calling XGrabPointer with a confine-to window that has never been mapped. That's a no-no, and causes the grab to fail. XGrabPointer returns status GrabNotViewable, which you decided not to check (shame on you). Since the grab fails, it's attempt to ask for motion events also fails.