Path: utzoo!attcan!uunet!wuarchive!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: xlock - event mask argument to XGrabPointer Message-ID: <8912182057.AA05745@expire.lcs.mit.edu> Date: 18 Dec 89 20:57:55 GMT References: <1989Dec16.002825.10200@smsc.sony.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 13 calls to XGrabPointer() with an event mask of -1, which caused a problem with the Sony R3 server (invalid argument). That actually makes it a post-R3 server, then. :-) This is a typical bug in R3 clients that will cause them to lose against strict R4 servers. Is -1 a special value meaning "all events that apply", -1 is not treated special by the server. The set of legal bits for the event mask in an XGrabPointer is defined in the protocol specification for GrabPointer (page 379 in the DP book) as SETofPOINTEREVENT. This set is given on page 349. Bit encodings are shown on page 545.