home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / misc / 1112 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.5 KB

  1. Xref: sparky comp.windows.misc:1112 comp.unix.questions:9488 comp.unix.programmer:3961
  2. Path: sparky!uunet!mcsun!uknet!acorn!ixi!ixi!pd
  3. From: pd@x.co.uk (Paul Davey)
  4. Newsgroups: comp.windows.misc,comp.unix.questions,comp.unix.programmer
  5. Subject: Re: How do you make sense of the Xlib error reports?
  6. Message-ID: <PD.92Jul28133136@herts.x.co.uk>
  7. Date: 28 Jul 92 13:31:36 GMT
  8. References: <smr.711990353@hitkw14>
  9. Sender: paul@x.co.uk (Paul Davey)
  10. Followup-To: comp.windows.x
  11. Distribution: comp
  12. Organization: IXI Ltd.
  13. Lines: 15
  14. In-Reply-To: smr@iti.org's message of 24 Jul 92 15:05:53 GMT
  15.  
  16. >>>>> On 24 Jul 92 15:05:53 GMT, smr@iti.org (Stephen Riehm) said:
  17.  
  18. Stephen>     How do I track down EXACTLY what is going wrong, it seems that
  19. Stephen>     when XCopyArea is called, it returns with an OK status, and
  20. Stephen>     its only when the event requests are processed that the
  21. Stephen>     message is printed. Any advice would be gladly appreciated!
  22.  
  23. Remember that Xlib is asynchronous. The error can only be detected on the
  24. server and is returned like an event.
  25.  
  26. When debugging in X run in synchronous mode by calling
  27.     XSynchronize(display, True) 
  28. so that your errors will be reported immediately after the program issues
  29. the request to XCopyArea.
  30.  
  31. NB. Your question would have been answered quicker in comp.windows.x, hence
  32.     the Followup-To.
  33.  
  34. --
  35.  Regards,              pd@x.co.uk           IXI Ltd.
  36.     Paul Davey          pd@ixi.uucp          62-74 Burleigh St.
  37.                   ...!uunet!ixi!pd     Cambridge,  U.K.
  38.  "These _are_ interesting times"  +44 223 462 131      CB1  1OJ
  39.