Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: xlock - event mask argument to XGrabPointer Message-ID: <2306@bacchus.dec.com> Date: 19 Dec 89 02:22:33 GMT References: <1989Dec19.005753.16316@smsc.sony.com> <1989Dec16.002825.10200@smsc.sony.com> <2296@bacchus.dec.com> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 17 In article <1989Dec19.005753.16316@smsc.sony.com>, dce@smsc.sony.com (David Elliott) writes: > The question that remains is: should XGrabPointer accept a mask with > all 1's as "all events that apply", or should it check the value and > raise an error if it sees any events that aren't correct for that > call? Well, the protocol spec (p. 379 in the DP book) does specifically say the event mask is a SETofPOINTEREVENT. Setting bits for events not in this set does technically violate the protocol, so servers should be free to reject the requests. I understand that the X11R4 sample servers will include a bugged-mode to accept sloppy protocol. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee