[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xterm.c:handle_one_xevent question
From: |
Kim F. Storm |
Subject: |
Re: xterm.c:handle_one_xevent question |
Date: |
25 Feb 2004 12:26:06 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"Jan D." <address@hidden> writes:
> >
> > It seems that my recent change to read_avail_input (which
> > significantly reduced the size of the event buffer) has triggered
> > some errors in the "read_socket_hook" functions on W32 and X (and
> > probably MAC as well).
>
> The gdb trace sent my Miles shows that the buffer size is just 1 when
> XTread_socket is called. This is way to small for X at least, X events
> often arrive more than one at the time. I don't know if this is part
> of the fix you mentioned, but please consider increasing the minimum
> size so that it is more than one.
The size is 8 initially, but if more than 8 events have arrived,
XTread_socket aborts rather than returns.
I'll look into correcting XTread_socket tomorrow.
--
Kim F. Storm <address@hidden> http://www.cua.dk