Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: kall@mayo.EDU (Bruce Kall) Newsgroups: comp.windows.x Subject: QueryPoint doesnt return Hot spot Message-ID: <9104122141.AA07310@neuro_dev.mayo.EDU> Date: 12 Apr 91 21:41:30 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 23 System: Sun 4/330, Openwindows. Has anybody noticed on their system that XQueryCursor returns the right-hand side of your cursor as the x,y location instead of it's hot-spot?? This happens with the standard Sun cursor (pointer towards 10 o'clock) as well as when changing to XC_tcross with XDefineCursor. I'm assuming I'm not changing the hot spot by the following: cross_hair_cursor = XCreateFontCursor(the_display,XC_tcross); XDefineCursor(the_display, window, cross_hair_cursor); Getting the x,y through a ButtonPress event via XNextEvent DOES give the hot spot. \------------------------------------------------------------\ \ Bruce Kall \ Internet: Kall@Mayo.edu \ \ Mayo Clinic (Foundation) \ Phone: (507)-255-4768 \ \ Rochester, MN 55905 \ \ \------------------------------------------------------------\