Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: Help me application shell and Athena widgets, please (REPOST) Message-ID: <3789@helios.ee.lbl.gov> Date: 13 Sep 89 16:49:24 GMT References: <70562@linus.UUCP> Sender: usenet@helios.ee.lbl.gov Lines: 44 < I'm sorry if everyone has seen this before, but I'm not sure that it < made it to the net. In article <67638@linus.UUCP> ted@mbunix.mitre.org (Ede) writes: < I'm trying to write a talk-like utility and I'm having some problems < with Athena Widgets. I have an application that opens a display on < the local host and the remote workstation(s). It creates a text and < label widget for each talker. < < When I try to realize the widgets I get a BadCursor error from < X_Create_Window. This problem manifests itself when I talk between < two machines running different window managers (awm and uwm). It < works OK when I talk on the same machine (not very useful). I guess a < window of one of the widgets is inheriting a cursor that doesn't < exist, but I'm not sure what to do about it. < ... < < Here's the error: < X Protocol error: BadCursor, invalid Cursor parameter < Major opcode of failed request: 1 (X_CreateWindow) < Minor opcode of failed request: 24 < Resource id in failed request: 0x500007 < Serial number of failed request: 60 < Current serial number in output stream: 70 < < The problem is in the Xmu file StrToCurs.c in caching the cursors. It doesn't keep a separate cache table for each display. The following patch will make it work until R4 comes out. The patch was kindly provided by Ralph Swick of Project Athena. Comment out the following line in the file lib/Xmu/StrToCurs.c /* if (!cache->cursor) */ _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.