Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!LEVIATHAN.CS.UMD.EDU!ogata From: ogata@LEVIATHAN.CS.UMD.EDU (Jeff Ogata) Newsgroups: comp.windows.x Subject: Re: Quick 'n dirty use of mouse question Message-ID: <8804241045.AA01385@leviathan.cs.umd.edu> Date: 24 Apr 88 10:45:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 9 Try XQueryMouse (RootWindow,&x,&y,&subw). This might work. Then again, I've never tried it. Another thing that works well for mouse stuff is an XGrabMouse, and a loop to swallow up all the XEvents from the mouse. XGrabMouse prevents mouse events from going to other clients. Of course, this requires that you use some XEvent stuff. Life. - Jeff Ogata ogata@brillig.umd.edu