Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!linus!linus!pop From: pop@linus.mitre.org (Paul O. Perry) Newsgroups: comp.windows.x.motif Subject: Re: Multiple Displays in Xt (again) and panedWindowWidget Message-ID: Date: 14 Nov 90 22:17:21 GMT Sender: usenet@linus.mitre.org Distribution: comp Organization: The MITRE Corporation Lines: 46 I seem to have a problem with xmPanedWindowWidgets. I open a panedWindow and I manage a number of frames (or bulletinboards) within it. It works fine, and it works well when I duplicate the same interface in a second application shell WHEN the two toplevel windows go to the same display. However, it does not work if I try to forward the second window to a different display. I fail with the following error: X Error of failed request: BadCursor (invalid Cursor parameter) Major opcode of failed request: 1 (X_CreateWindow) Minor opcode of failed request: 0 Resource id in failed request: 0xa0009e Serial number of failed request: 318 Current serial number in output stream: 341 This type of error was being discussed recently in the context of trying to open multiple displays. I have opened multiple displays, I just have not been able to do it with panedWidgets that have children. clive@x.co.uk (Clive Feather) writes: > Fixes: > 1: Try setting the resources so that a different named cursor is used for > each display. > 2: Patch CvtStringToCursor to stop it storing the value. > 3: Fixed in R4 (from a quick glance at the code). How do I do #1 ? I tryed XCreateCursorFont with no success. As for 2, and 3, I am using Motif1.1 and X11R4(patchlevel 18) on a Sparc1 SunOS4.0.3. I'm actually compiling under g++(1.37.1) but I don't think that (at this point) it's the source of the problem. Alternatively, how can I debug the code to find the offending line in my code? XSynchronize(display) doesn't seem to get me close enough to something that would need to do enything with cursors. Thanks again, Paul. Paul O. Perry MITRE Corporation Phone: (617) 271-5230 Burlington Road ARPA: pop@mitre.org Bedford, MA 01730 -- Paul O. Perry MITRE Corporation Phone: (617) 271-5230 Burlington Road ARPA: pop@mitre.org Bedford, MA 01730 UUCP: ...{decvax,philabs,genrad}!linus!pop