Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ucbcad!ucbvax!cadillac.siemens.COM!berman From: berman@cadillac.siemens.COM (A. Michael Berman) Newsgroups: comp.windows.x Subject: Query regarding GrabPointer Message-ID: <8801081957.AA02147@volvo.siemens.com> Date: 8 Jan 88 19:57:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 20 Either I'm confused about the use of GrabPointer, or I've hit a bug. Or both. I'd be glad if someone would enlighten me. According to the protocol, when a GrabPointer is requested with owner-events == False, "all generated pointer events...are only reported if selected by event-mask". Now, this implies to me that regardless of the events selected on my windows (by SelectEvent) I should get only events selected by the event-mask in the GrabPointer call. In my case, the event-mask==ButtonPressMask, yet I still get EnterNotify's and MotionNotify's. If someone has an explanation, I'd be thankful for it. See you in Boston. --Mike Berman RTL Tiled Windows Siemens RTL Princeton, NJ