Path: utzoo!attcan!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: al@ghostwheel.eng.yale.edu (Alfred Rizzi) Newsgroups: comp.sys.sun Subject: Re: 4.1.1 and the SunView mouse pointer Keywords: Windows Message-ID: <829@brchh104.bnr.ca> Date: 12 Dec 90 21:12:40 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 37 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n402 X-Sun-Spots-Digest: Volume 9, Issue 402, message 6 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu In article <775@brchh104.bnr.ca> unocal!stssram@sunkist.west.sun.com (Bob Myers) writes: We've just started upgrading to 4.1.1, and most things seem to work great. However, the SunView mouse pointer (the arrow) doesn't go away when we exit SunView. It stays on the screen until we enter SunView again. This isn't too bad on the console, but it's very annoying when we start up MIT X Windows (X11R4). We haven't tried OpenWindows 2.0 yet. I've experienced the same problem both with SunView and OpenWindows 2.0 immediately after installing the GFX patch from sun. It appears that both of these programs take "advantage" of the hardware cursor support avaliable with the GX board, but fail to turn the cursor off when they exit. The following bit of code will turn the cursor off. #include #include #include #include main() { int fd; struct fbcursor curs ; curs.set = FB_CUR_SETCUR; curs.enable = 0; fd = open("/dev/fb", O_RDWR); ioctl(fd, FBIOSCURSOR, &curs); close(fd); } Alfred A. Rizzi al@corwin.eng.yale.edu ph: (203) 432-4239 Yale Robotics Laboratory fx: (203) 432-7481 Department of Electrical Engineering, 1968 Yale Station, New Haven, CT 06520