🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #50

Re: How do you make sense of the Xlib error reports?

#50
From: Paul Davey
Date: Tue, 28 Jul 1992 13:31
23 lines
1489 bytes
>>>>> On 24 Jul 92 15:05:53 GMT, smr@iti.org (Stephen Riehm) said:

Stephen> 	How do I track down EXACTLY what is going wrong, it seems that
Stephen> 	when XCopyArea is called, it returns with an OK status, and
Stephen> 	its only when the event requests are processed that the
Stephen> 	message is printed. Any advice would be gladly appreciated!

Remember that Xlib is asynchronous. The error can only be detected on the
server and is returned like an event.

When debugging in X run in synchronous mode by calling
	XSynchronize(display, True) 
so that your errors will be reported immediately after the program issues
the request to XCopyArea.

NB. Your question would have been answered quicker in comp.windows.x, hence
    the Followup-To.

--
 Regards,			  pd@x.co.uk           IXI Ltd.
	Paul Davey		  pd@ixi.uucp          62-74 Burleigh St.
				  ...!uunet!ixi!pd     Cambridge,  U.K.
 "These _are_ interesting times"  +44 223 462 131      CB1  1OJ
Technical Details
Message-ID: <PD.92Jul28133136@herts.x.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!acorn!ixi!ixi!pd
References: <smr.711990353@hitkw14>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!acorn!ixi!ixi!pd
From: pd@x.co.uk (Paul Davey)
Newsgroups: comp.windows.misc,comp.unix.questions,comp.unix.programmer
Subject: Re: How do you make sense of the Xlib error reports?
Message-ID: <PD.92Jul28133136@herts.x.co.uk>
Date: 28 Jul 92 13:31:36 GMT
References: <smr.711990353@hitkw14>
Sender: paul@x.co.uk (Paul Davey)
Followup-To: comp.windows.x
Distribution: comp
Organization: IXI Ltd.
Lines: 15
In-Reply-To: smr@iti.org's message of 24 Jul 92 15:05:53 GMT