[Xcb] [PATCH] XCBPeekNextEvent()
Ian Osgood
iano at quirkster.com
Thu Jun 1 10:02:40 PDT 2006
Ori Bernstein said:
> While porting Xnest over to XCB as part of my Summer of Code
> project, I ran
> into some code using XCheckIfEvent(). Since I couldn't find any
> better way of
> porting the code to XCB, (needing a way of knowing the next event
> without
> getting it (or with ungetting it)), I looked into the XCB code, and
> noticed that
> most of the structure I needed to peek the next event was already
> in place. So,
> without further ado, I present to you XCBPeekNextEvent().
This has been discussed in the XCB mailing list before. You might
find this post enlightening:
http://lists.freedesktop.org/archives/xcb/2005-August/001026.html
Ian
More information about the Xcb
mailing list