Hello,
The following code snippet from _XEventsQueued () has this check
that seems to be giving me problems with my window manager. I was
wondering whether the check could be removed without causing any undesirable
side-effects ?
_XEventsQueued ()
{
. . .
ioctl (fd, FIONREAD, &pend);
#ifdef XCONN_CHECK_FREQ
/* This is a crock, required because FIONREAD or equivalent is
* not guaranteed to detect a broken connection.
*/
if (!pend && !dpy->qlen && ++dpy->conn_checker >= XCONN_CHECK_FREQ) {
^^^^^^^^^
// issue a read which will detect the zero length message and
// exit from the app.
}
.....
#endif
}
If dpy->qlen is non-zero I sometimes end up with an infinitely looping
X client. Can I remove this check ?
Thanks for your help,
Santosh.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert