berman@cadillac.siemens.COM (A. Michael Berman) (01/09/88)
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