[PATCH] XCBPeekNextEvent()

Donnie Berkholz spyderous at gentoo.org
Thu Jun 1 09:36:59 PDT 2006

Ori Bernstein wrote:
> 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(). 
> I'll pretend it gets into XCB for the nonce, until someone gently admonishes me
> with a baseball bat and tells me a better way of porting the code over, or
> commits it to XCB =)

There is a separate xcb mailing list (also at freedesktop.org) that you
probably want to post this kind of stuff to.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060601/bde5af24/attachment.pgp>

More information about the xorg mailing list