nanogui: GrPeekEvent() causes client to crash
Subject:
GrPeekEvent() causes client to crash
From:
"Constantin Pavlicu" ####@####.####
Date:
7 Jun 2001 15:43:39 -0000
Message-Id: <C4986887AFD0FE4FAB6D5EB312E9BDD316FD6D@ncemx.smart-fusion.com>
I'm trying to use GrPeekEvent() to check for events before calling
GrCheckNextEvent(). Unfortunately adding a call to GrPeekEvent() causes
the nanox client to crash with:
nxclient 1497: Wrong packet type XXXX (expected 22)
The same error message is displayed about 20 odd times (XXXX number
varies
between messages) and then the client locks up. Any idea what's causing
it?
Oh I forgot to add that it doesn't crash straightaway, it takes a few
seconds
(and hundreds of calls to the server - line drawing, text drawing etc)
before it goes.
Constantin