Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: XGrabPointer and ButtonPress Message-ID: <8902151332.AA03428@EXPIRE.LCS.MIT.EDU> Date: 15 Feb 89 13:32:34 GMT References: <19890214222542.2.MAC@titan.harris-atd.com> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 6 You're getting a BadAccess on ChangeActivePointerGrab because your application is using two connections in conflict. On one connection you select for ButtonPress on the root window. When the button gets pressed, a grab is activated. Subsequently you try to ChangeActivePointerGrab on the *other* connection. This is a no-no. A "client" is defined by a connection, not by an address space.