nanogui: Missing events?


Previous by date: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Next by date: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Previous in thread: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Next in thread: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie

Subject: Re: [nanogui] Missing events?
From: "Greg Haerr" ####@####.####
Date: 7 Mar 2006 18:38:25 +0000
Message-Id: <185101c64216$4f4eb5f0$0300a8c0@RDP>

: If I call GrMapWindow just before the GrGetNextEvent, shouldn't it pick up
some event?
: What's the nature of such a bug that could cause this? Timing? Memory?

Remember, nano-X is a client/server system.  When you call
GrMapWindow(), a command is queued to send to the
server.  When GrGetNextEvent or GrFlush is called, the
command is sent to the server.  In the meantime, if there's
any event waiting in the client local queue, it is returned.
Otherwise the client blocks waiting for an event.  Meanwhile,
the server maps the window, and generates expose events
for windows that have selected for them.  Eventually, GrGetNextEvent
will get that event, possibly after multiple waits.

Regards,

Greg


Previous by date: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Next by date: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Previous in thread: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie
Next in thread: 7 Mar 2006 18:38:25 +0000 Re: Missing events?, Robbie


Powered by ezmlm-browse 0.20.