From 01ed75712979168d0355bd594a741c02a088685c Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:47:32 +0200 Subject: Imported nx-X11-3.3.0-3.tar.gz Summary: Imported nx-X11-3.3.0-3.tar.gz Keywords: Imported nx-X11-3.3.0-3.tar.gz into Git repository --- nx-X11/lib/X11/XlibInt.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'nx-X11/lib/X11/XlibInt.c') diff --git a/nx-X11/lib/X11/XlibInt.c b/nx-X11/lib/X11/XlibInt.c index d440d663d..9a8ac4b73 100644 --- a/nx-X11/lib/X11/XlibInt.c +++ b/nx-X11/lib/X11/XlibInt.c @@ -1840,7 +1840,20 @@ _XSend ( int congestion; #endif +#ifdef AGENT_SERVER + if (!size || (dpy->flags & XlibDisplayIOError)) + { + if (dpy->flags & XlibDisplayIOError) + { + dpy->bufptr = dpy->buffer; + dpy->last_req = (char *)&_dummy_request; + } + + return; + } +#else if (!size || (dpy->flags & XlibDisplayIOError)) return; +#endif dbufsize = dpy->bufptr - dpy->buffer; #ifdef XTHREADS dpy->flags |= XlibDisplayWriting; -- cgit v1.2.3