Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!usc!apple!voder!pyramid!unify!csusac!csuchico.edu!csuchico.edu!warlock From: warlock@csuchico.edu (John Kennedy) Newsgroups: comp.windows.x Subject: Cursor control Keywords: disappear cursor Message-ID: <1990Jun29.215452.221@csuchico.edu> Date: 29 Jun 90 21:54:52 GMT Sender: news@csuchico.edu (USENET) Reply-To: warlock@csuchico.edu (John Kennedy) Organization: California State University, Chico Lines: 25 I have a problem that perhaps someone can answer. I wish to make the cursor temporarily disappear. My current efforts have been foiled because X seems to keep around an image of what's under the cursor. Here is the situation: I'm using a Sun SPARCstation 1+ (8-bit color) X11R4 I'm calling a function that apparently uses low-level pixrect calls to move images around inside a box. By clicking on a spot, the function centers the image on that spot (so I'm basically panning around, seeing a piece of a larger image). That is all working fine, but the problem is this: When I click on a spot, the function copies a piece of the image on top of where my cursor was. When I move the mouse, what used to be under the cursor is restored, leaving a cookie on the screen. Defining the mouse shape as nothing doesn't appear to help anything at all. Xterm appears to get around this problem nicely. Does anybody know how it does it? Thanks for any help you might give. -- Warlock, AKA +---------------------------------------------------- John Kennedy | internet: warlock@csuchico.edu CSU Chico +----------------------------------------------------