nanogui: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c
Subject:
Possible bug in GrCheckNextEvent() in nanox/client_ecos.c
From:
"I-Jui Sung" ####@####.####
Date:
22 Aug 2001 22:15:10 -0000
Message-Id: <001d01c12b5a$09bb5ed0$0e8c718c@biou>
In the function GrCheckNextEvent(), the client-side event queue is not
checked at all, while the function GrGetNextEventTimeout() DO check this
client-side event queue.
So, an event previously fetched in client-side queue will not be seen by the
GrCheckNextEvent!
To fix this inconsistancy, the following lines should be inserted in the
first line in GrCheckNextEvent() (in nanox/client.c)
/*Checking client side queue before querying server */
if (evlist) { GetNextQueuedEvent(ep); CheckErrorEvent(ep); return; }
Regards,
I-Jui Sung