Introduce a variant of xcb_poll_for_event for examining event queue.
authorRami Ylimäki <rami.ylimaki@vincit.fi>
Tue, 22 Mar 2011 12:33:23 +0000 (14:33 +0200)
committerJamey Sharp <jamey@minilop.net>
Tue, 12 Apr 2011 20:05:59 +0000 (13:05 -0700)
commit527df3c84bd71113cedc7f55089c02d1c099ecad
tree4574dc7111fc1e0b78e48aac05bbda5013b07dca
parentb64cd0df884e7901ff13def0272df74962035920
Introduce a variant of xcb_poll_for_event for examining event queue.

In some circumstances using xcb_poll_for_event is suboptimal because
it checks the connection for new events. This may lead to a lot of
failed nonblocking read system calls.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
src/xcb.h
src/xcb_in.c